From f45daa94452597981f06f65d2a757eea8ab8ac23 Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Mon, 13 May 2024 17:26:41 -0700 Subject: [PATCH] Fix: some buttons incorrectly aligned in 2.8.4 (#6715) --- .../app-frame/global-search/global-search.component.scss | 3 +++ src-ui/src/styles.scss | 3 +-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src-ui/src/app/components/app-frame/global-search/global-search.component.scss b/src-ui/src/app/components/app-frame/global-search/global-search.component.scss index 9bd9a736e..1b4f6cd19 100644 --- a/src-ui/src/app/components/app-frame/global-search/global-search.component.scss +++ b/src-ui/src/app/components/app-frame/global-search/global-search.component.scss @@ -31,6 +31,9 @@ form { .input-group .btn { border-color: rgba(255, 255, 255, 0.2); color: var(--pngx-primary-text-contrast); + padding-top: .15rem; + padding-bottom: .15rem; + min-height: calc(1.3em + 0.5rem + calc(var(--bs-border-width) * 2)) !important; } .form-control { diff --git a/src-ui/src/styles.scss b/src-ui/src/styles.scss index be1262dc8..04b908720 100644 --- a/src-ui/src/styles.scss +++ b/src-ui/src/styles.scss @@ -332,8 +332,7 @@ textarea, } } -.input-group .form-control-sm, -.input-group .btn-sm { +.input-group .form-control-sm { // accommodate larger font size on mobile padding-top: .15rem; padding-bottom: .15rem;