Skip to content

Commit

Permalink
Fix Mobile Open Pane unnecessary padding
Browse files Browse the repository at this point in the history
  • Loading branch information
enricoros committed Jan 31, 2025
1 parent eafc009 commit da903d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/layout/optima/bar/OptimaBarDropdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit da903d1

Please sign in to comment.