patch..
This commit is contained in:
@@ -45,7 +45,7 @@ export default function PlatformSelectionPanel({
|
||||
onOpenSettings
|
||||
}: PlatformSelectionPanelProps): React.JSX.Element {
|
||||
return (
|
||||
<div className={['min-h-0 w-1/2 shrink-0 px-6 pb-5 pt-3 transition-opacity duration-300', mode === 'settings' ? 'opacity-0' : 'opacity-100'].join(' ')}>
|
||||
<div className={['h-full min-h-0 w-1/2 shrink-0 overflow-y-auto px-6 pb-5 pt-3 pr-5 transition-opacity duration-300', mode === 'settings' ? 'opacity-0' : 'opacity-100'].join(' ')}>
|
||||
{runningPlatforms.length > 0 && (
|
||||
<div className="mb-4 pr-1">
|
||||
<p className="mb-2 text-[12px] font-black text-[#2563eb]">실행중인 플랫폼</p>
|
||||
@@ -76,12 +76,7 @@ export default function PlatformSelectionPanel({
|
||||
counts={counts}
|
||||
onChange={onFilterChange}
|
||||
/>
|
||||
<div data-help="platform-list" className={[
|
||||
'grid content-start gap-3 overflow-y-auto pr-1',
|
||||
runningPlatforms.length > 0
|
||||
? 'min-h-[340px] max-h-[340px]'
|
||||
: 'min-h-[470px] max-h-[470px]'
|
||||
].join(' ')}>
|
||||
<div data-help="platform-list" className="grid content-start gap-3">
|
||||
{filteredPlatforms.length ? filteredPlatforms.map((platform) => {
|
||||
const { id, status, action, state, iconKey } = platform
|
||||
const Icon = PLATFORM_ICONS[iconKey] ?? Monitor
|
||||
|
||||
Reference in New Issue
Block a user