Open tabs menu: Move margin/padding to SCSS
This commit is contained in:
parent
873c87956c
commit
608b732fbb
2 changed files with 5 additions and 2 deletions
|
@ -991,8 +991,6 @@ var Zotero_Tabs = new function () {
|
||||||
};
|
};
|
||||||
|
|
||||||
this.handleTabsMenuShown = function (_) {
|
this.handleTabsMenuShown = function (_) {
|
||||||
// Default panel's padding is inside of a shadow dom, so it's easier to cancel it here
|
|
||||||
this.tabsMenuPanel.shadowRoot.firstChild.style = 'padding: 0px !important; margin: 0px !important';
|
|
||||||
focusTabsMenuEntry(0);
|
focusTabsMenuEntry(0);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
#zotero-tabs-menu-panel::part(content) {
|
||||||
|
padding: 0;
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
#zotero-tabs-menu-wrapper {
|
#zotero-tabs-menu-wrapper {
|
||||||
background: var(--material-sidepane);
|
background: var(--material-sidepane);
|
||||||
padding: 7px;
|
padding: 7px;
|
||||||
|
|
Loading…
Reference in a new issue