Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions packages/@react-spectrum/s2/src/Menu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ export let menu = style({
gridTemplateColumns: menuItemGrid,
boxSizing: 'border-box',
maxHeight: '[inherit]',
width: 'full',
overflow: {
isPopover: 'auto'
},
Expand Down Expand Up @@ -186,6 +187,7 @@ export let menuitem = style({
},
alignItems: 'baseline',
minHeight: 'control',
height: 'min',
textDecoration: 'none',
cursor: {
default: 'default',
Expand Down
1 change: 1 addition & 0 deletions packages/@react-spectrum/s2/src/Picker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ const quietFocusLine = style({
export let menu = style({
outlineStyle: 'none',
display: 'grid',
width: 'full',
gridTemplateColumns: {
size: {
S: [edgeToText(24), 'auto', 'auto', 'minmax(0, 1fr)', 'auto', 'auto', 'auto', edgeToText(24)],
Expand Down
3 changes: 2 additions & 1 deletion packages/@react-spectrum/s2/src/Popover.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ let popover = style({
// Don't be larger than full screen minus 2 * containerPadding
maxWidth: '[calc(100vw - 24px)]',
boxSizing: 'border-box',
display: 'flex',
opacity: {
isEntering: 0,
isExiting: 0
Expand Down Expand Up @@ -226,7 +227,7 @@ const dialogStyle = style({
borderRadius: '[inherit]',
overflow: 'auto',
position: 'relative',
size: 'full',
width: 'full',
maxSize: '[inherit]'
}, getAllowedOverrides({height: true}));

Expand Down