mirror of
https://github.com/zadam/trilium.git
synced 2025-12-12 10:24:23 +01:00
feat(tab_navigation): add it to horizontal layout as well
This commit is contained in:
parent
da7e15c268
commit
9e094f1d96
@ -81,6 +81,7 @@ export default class DesktopLayout {
|
|||||||
.class("tab-row-container")
|
.class("tab-row-container")
|
||||||
.child(new FlexContainer("row").id("tab-row-left-spacer"))
|
.child(new FlexContainer("row").id("tab-row-left-spacer"))
|
||||||
.optChild(launcherPaneIsHorizontal, <LeftPaneToggle isHorizontalLayout={true} />)
|
.optChild(launcherPaneIsHorizontal, <LeftPaneToggle isHorizontalLayout={true} />)
|
||||||
|
.child(<TabHistoryNavigationButtons />)
|
||||||
.child(new TabRowWidget().class("full-width"))
|
.child(new TabRowWidget().class("full-width"))
|
||||||
.optChild(customTitleBarButtons, <TitleBarButtons />)
|
.optChild(customTitleBarButtons, <TitleBarButtons />)
|
||||||
.css("height", "40px")
|
.css("height", "40px")
|
||||||
|
|||||||
@ -945,12 +945,26 @@ body.electron.background-effects.layout-horizontal .tab-row-container .toggle-bu
|
|||||||
position: absolute;
|
position: absolute;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
inset-inline-start: -10px;
|
inset-inline-start: -10px;
|
||||||
inset-inline-end: -10px;
|
inset-inline-end: -6px;
|
||||||
top: 32px;
|
top: 32px;
|
||||||
height: 1px;
|
height: 1px;
|
||||||
border-bottom: 1px solid var(--launcher-pane-horiz-border-color);
|
border-bottom: 1px solid var(--launcher-pane-horiz-border-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
body.electron.background-effects.layout-horizontal .tab-row-container .tab-history-navigation-buttons {
|
||||||
|
position: relative;
|
||||||
|
|
||||||
|
&:after {
|
||||||
|
content: "";
|
||||||
|
position: absolute;
|
||||||
|
bottom: 0;
|
||||||
|
inset-inline-start: 0;
|
||||||
|
inset-inline-end: -7px;
|
||||||
|
height: 1px;
|
||||||
|
border-bottom: 1px solid var(--launcher-pane-horiz-border-color);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
body.electron.background-effects.layout-horizontal .tab-row-container .tab-scroll-button-left,
|
body.electron.background-effects.layout-horizontal .tab-row-container .tab-scroll-button-left,
|
||||||
body.electron.background-effects.layout-horizontal .tab-row-container .tab-scroll-button-right {
|
body.electron.background-effects.layout-horizontal .tab-row-container .tab-scroll-button-right {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user