From 70552d58acacc6cb80e012085aa17a02e2227b66 Mon Sep 17 00:00:00 2001 From: zadam Date: Fri, 25 Nov 2022 09:21:56 +0100 Subject: [PATCH] global menu styling improvements --- package-lock.json | 1 - src/public/app/widgets/buttons/global_menu.js | 18 ++++++++++++++++-- 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index faf59ad80..f5f609eb9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5,7 +5,6 @@ "requires": true, "packages": { "": { - "name": "trilium", "version": "0.57.1-beta", "hasInstallScript": true, "license": "AGPL-3.0-only", diff --git a/src/public/app/widgets/buttons/global_menu.js b/src/public/app/widgets/buttons/global_menu.js index 6de93ba66..45fa44133 100644 --- a/src/public/app/widgets/buttons/global_menu.js +++ b/src/public/app/widgets/buttons/global_menu.js @@ -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; + }