1
0
forked from boos/BoosAPI

fix: align site-block and delete buttons in channel row grid layout

Wrap site-block and delete buttons in a flex container and expand grid
to 4 columns so all action buttons stay on the same row.
This commit is contained in:
Hureru
2026-03-22 01:02:53 +08:00
parent 4415317bdc
commit 835fccb4f5
@@ -47,7 +47,7 @@ export function SortableChannelRow({
opacity: isDragging ? 0.72 : channel.enabled === false ? 0.5 : 1, opacity: isDragging ? 0.72 : channel.enabled === false ? 0.5 : 1,
zIndex: isDragging ? 10 : 1, zIndex: isDragging ? 10 : 1,
display: 'grid', display: 'grid',
gridTemplateColumns: readOnly || mobile ? 'minmax(0, 1fr)' : 'minmax(0, 1fr) auto auto', gridTemplateColumns: readOnly || mobile ? 'minmax(0, 1fr)' : 'minmax(0, 1fr) auto auto auto',
alignItems: mobile ? 'stretch' : 'center', alignItems: mobile ? 'stretch' : 'center',
gap: 8, gap: 8,
padding: mobile ? '10px 12px' : '8px 12px', padding: mobile ? '10px 12px' : '8px 12px',