Add padding to reader tags popup
And move styles to SCSS.
This commit is contained in:
parent
482e436203
commit
8e3abd8706
3 changed files with 6 additions and 2 deletions
|
@ -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);
|
||||
|
|
|
@ -52,6 +52,7 @@
|
|||
@import "components/virtualized-table";
|
||||
@import "components/tabsMenu";
|
||||
@import "components/newCollectionDialog";
|
||||
@import "components/reader";
|
||||
|
||||
// Elements
|
||||
// --------------------------------------------------
|
||||
|
|
5
scss/components/_reader.scss
Normal file
5
scss/components/_reader.scss
Normal file
|
@ -0,0 +1,5 @@
|
|||
menupopup.tags-popup {
|
||||
font: inherit;
|
||||
min-width: 300px;
|
||||
padding-inline: 8px;
|
||||
}
|
Loading…
Reference in a new issue