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:
@@ -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',
|
||||||
|
|||||||
Reference in New Issue
Block a user