style: keep fixed width and rounded-md for expanded group header

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Guilhem
2026-03-04 15:38:49 +00:00
co-authored by Claude Opus 4.6
parent 9a7601861e
commit 2c285e1732
2 changed files with 3 additions and 6 deletions
@@ -13,7 +13,6 @@
summary?: string
selected?: boolean
stepCount?: number
fullWidth?: boolean
color?: string
note?: string
showNote?: boolean
@@ -29,7 +28,6 @@
summary,
selected = false,
stepCount,
fullWidth = false,
color,
note,
showNote = false,
@@ -89,15 +87,15 @@
<div
class={twMerge(
'w-full module cursor-pointer max-w-full',
fullWidth ? 'rounded-t-md' : 'shadow-sm rounded-md overflow-clip',
'shadow-sm rounded-md overflow-clip',
'bg-surface-tertiary'
)}
style={fullWidth ? '' : 'width: 275px;'}
style="width: 275px;"
>
<div
class={twMerge(
'absolute z-0 outline-offset-0 inset-0',
fullWidth ? 'rounded-t-md' : 'rounded-md',
'rounded-md',
noteColorConfig ? noteColorConfig.outline : defaultColorClasses.outline
)}
></div>
@@ -184,7 +184,6 @@
summary={group.summary}
stepCount={group.module_ids.length}
color={group.color}
fullWidth
note={group.note}
showNote={showNotes && group.note != null}
{editMode}