Add padding to reader tags popup

And move styles to SCSS.
This commit is contained in:
Abe Jellinek 2024-01-16 12:57:00 -05:00 committed by Dan Stillman
parent 482e436203
commit 8e3abd8706
3 changed files with 6 additions and 2 deletions

View file

@ -865,8 +865,6 @@ class ReaderInstance {
}
});
menupopup.className = 'tags-popup';
menupopup.style.font = 'inherit';
menupopup.style.minWidth = '300px';
menupopup.setAttribute('ignorekeys', true);
let tagsbox = new (this._window.customElements.get('tags-box'));
menupopup.appendChild(tagsbox);

View file

@ -52,6 +52,7 @@
@import "components/virtualized-table";
@import "components/tabsMenu";
@import "components/newCollectionDialog";
@import "components/reader";
// Elements
// --------------------------------------------------

View file

@ -0,0 +1,5 @@
menupopup.tags-popup {
font: inherit;
min-width: 300px;
padding-inline: 8px;
}