From 188abc48d0b5e9e6b47531b61d4018826b520c41 Mon Sep 17 00:00:00 2001 From: alstjr7375 Date: Fri, 29 Jul 2022 09:13:39 +0900 Subject: [PATCH] Fix: One Liner - Vertical Align --- css/leptonChrome.css | 4 ++++ src/tabbar/_one_liner.scss | 3 +++ 2 files changed, 7 insertions(+) diff --git a/css/leptonChrome.css b/css/leptonChrome.css index d993d07..da67094 100644 --- a/css/leptonChrome.css +++ b/css/leptonChrome.css @@ -4001,6 +4001,10 @@ height: var(--uc-tabbar-height) !important; } + #nav-bar > * { + transform: translateY(calc((var(--uc-tabbar-height) + var(--uc-navbar-hide-height)) / 2)); + } + #urlbar-container { min-width: 0px !important; } diff --git a/src/tabbar/_one_liner.scss b/src/tabbar/_one_liner.scss index 59ad438..0e35b38 100644 --- a/src/tabbar/_one_liner.scss +++ b/src/tabbar/_one_liner.scss @@ -11,6 +11,9 @@ margin-top: var(--uc-tabbar-hide-height) !important; height: var(--uc-tabbar-height) !important; } +#nav-bar > * { + transform: translateY(calc((var(--uc-tabbar-height) + var(--uc-navbar-hide-height)) / 2)); +} #urlbar-container { min-width: 0px !important;