Fix Mobile Open Pane unnecessary padding

This commit is contained in:
Enrico Ros
2024-11-21 23:26:36 -08:00
parent eafc009ff0
commit da903d1879
@@ -16,7 +16,7 @@ const _selectSlotProps: SelectSlotsAndSlotProps<false>['slotProps'] = {
sx: {
backgroundColor: 'transparent',
// minWidth: selectMinWidth, // 160
maxWidth: 'calc(100dvw - 4.5rem)', /* 36px * 2 buttons */
maxWidth: 'calc(100dvw - 4.5rem)', /* 36px * 2 buttons (2 * var(--Bar)) */
// disappear when the 'agi-gone' class is set
'&.agi-gone': {
display: 'none',