(core) Revert Safari overflow fix

Summary: The fix introduced a regression.

Test Plan: Existing tests.

Reviewers: jarek

Reviewed By: jarek

Differential Revision: https://phab.getgrist.com/D4254
pull/1004/head
George Gevoian 4 months ago
parent 3267012226
commit ed9514bae0

@ -166,7 +166,8 @@ const cssSubMenuElem = styled('div', `
min-width: 200px;
`);
// Note: "overflow: visible" happens to matter for Safari.
// TODO: menus are sometimes cut off in Safari.
// Setting "overflow: visible fixes this, but breaks overflow elsewhere.
export const cssMenuElem = styled('div', `
font-family: ${vars.fontFamily};
font-size: ${vars.mediumFontSize};
@ -179,7 +180,6 @@ export const cssMenuElem = styled('div', `
--weaseljs-selected-background-color: ${theme.menuItemSelectedBg};
--weaseljs-menu-item-padding: 8px 24px;
background-color: ${theme.menuBg};
overflow: visible;
@media print {
& {

Loading…
Cancel
Save