global menu styling improvements

This commit is contained in:
zadam 2022-11-25 09:21:56 +01:00
parent c7bda4d0be
commit 70552d58ac
2 changed files with 16 additions and 3 deletions

1
package-lock.json generated
View file

@ -5,7 +5,6 @@
"requires": true,
"packages": {
"": {
"name": "trilium",
"version": "0.57.1-beta",
"hasInstallScript": true,
"license": "AGPL-3.0-only",

View file

@ -42,6 +42,13 @@ const TPL = `
display: none;
}
.global-menu .zoom-container {
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: baseline;
}
.global-menu .zoom-buttons a {
display: inline-block;
border: 1px solid var(--button-border-color);
@ -60,6 +67,13 @@ const TPL = `
margin-left: 5px;
margin-right: 5px;
}
.global-menu .dropdown-item .bx {
position: relative;
top: 3px;
font-size: 120%;
margin-right: 5px;
}
</style>
<button type="button" data-toggle="dropdown" data-placement="right"
@ -85,7 +99,7 @@ const TPL = `
Switch to mobile version
</li>
<span class="zoom-container dropdown-item" style="display: flex; flex-direction: row; justify-content: space-between;">
<span class="zoom-container dropdown-item">
<div>
<span class="bx bx-empty"></span>
Zoom
@ -111,7 +125,7 @@ const TPL = `
</li>
<li class="dropdown-item options-button" data-trigger-command="showLaunchBarShortcuts">
<span class="bx bx-horizontal-left"></span>
<span class="bx bx-sidebar"></span>
Configure launchbar shortcuts
</li>