mirror of
https://github.com/gristlabs/grist-core.git
synced 2024-10-27 20:44:07 +00:00
(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
This commit is contained in:
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…
Reference in New Issue
Block a user