mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-08-09 17:52:32 +08:00
style(next): regressions for vertical layout
This commit is contained in:
parent
947cff5805
commit
91aad26eae
@ -25,10 +25,12 @@ export default class BookmarkButtons extends FlexContainer {
|
||||
? new BookmarkFolderWidget(note)
|
||||
: new OpenNoteButtonWidget(note)
|
||||
.class("launcher-button");
|
||||
if (!buttonWidget.settings) {
|
||||
buttonWidget = {};
|
||||
if (this.settings.titlePlacement) {
|
||||
if (!buttonWidget.settings) {
|
||||
buttonWidget = {};
|
||||
}
|
||||
buttonWidget.settings.titlePlacement = this.settings.titlePlacement;
|
||||
}
|
||||
buttonWidget.settings.titlePlacement = this.settings.titlePlacement;
|
||||
|
||||
this.child(buttonWidget);
|
||||
|
||||
|
@ -693,17 +693,17 @@ html body #left-pane .quick-search:focus-within .search-button:hover,
|
||||
|
||||
.tab-row-widget-container {
|
||||
margin-top: calc((var(--tab-bar-height) - var(--tab-height)) / 2);
|
||||
height: var(--tab-height) !important;
|
||||
overflow: hidden;
|
||||
height: var(--tab-height) !important;
|
||||
}
|
||||
|
||||
#root-widget.horizontal-layout .tab-row-container {
|
||||
padding-top: calc((var(--tab-bar-height) - var(--tab-height)));
|
||||
padding-top: calc((var(--tab-bar-height) - var(--tab-height)));
|
||||
}
|
||||
|
||||
#root-widget.horizontal-layout .tab-row-widget-container {
|
||||
margin-top: 0;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.tab-row-widget .note-tab .note-tab-wrapper {
|
||||
|
Loading…
x
Reference in New Issue
Block a user