mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-29 19:12:27 +08:00
fix(client): fix size for horizontal launcher bar
This commit is contained in:
parent
c9f2a2bd6b
commit
c858630678
@ -233,12 +233,14 @@ export default class DesktopLayout {
|
||||
if (isHorizontal) {
|
||||
launcherPane = new FlexContainer("row")
|
||||
.css("height", "53px")
|
||||
.class("horizontal")
|
||||
.child(new LeftPaneToggleWidget())
|
||||
.child(new LauncherContainer(isHorizontal))
|
||||
.child(new GlobalMenuWidget())
|
||||
} else {
|
||||
launcherPane = new FlexContainer("column")
|
||||
.css("width", "53px")
|
||||
.class("vertical")
|
||||
.child(new GlobalMenuWidget())
|
||||
.child(new LauncherContainer(isHorizontal))
|
||||
.child(new LeftPaneToggleWidget());
|
||||
|
@ -1123,11 +1123,20 @@ li.dropdown-submenu:hover > ul.dropdown-menu {
|
||||
cursor: pointer;
|
||||
border: none;
|
||||
color: var(--launcher-pane-text-color);
|
||||
background-color: var(--launcher-pane-background-color);
|
||||
height: 53px;
|
||||
width: 100%;
|
||||
background-color: var(--launcher-pane-background-color);
|
||||
}
|
||||
|
||||
#launcher-pane.vertical .launcher-button {
|
||||
width: 100%;
|
||||
height: 53px;
|
||||
}
|
||||
|
||||
#launcher-pane.horizontal .launcher-button {
|
||||
width: 53px;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
|
||||
#launcher-pane .icon-action:hover {
|
||||
background-color: var(--hover-item-background-color);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user