From 0217c839793174bbbf928a9d78eead368ccf5fae Mon Sep 17 00:00:00 2001 From: maTh <1645099+math-GH@users.noreply.github.com> Date: Sat, 22 Mar 2025 23:31:08 +0100 Subject: Themes: .btn padding + small adjustments (#7168) Closes https://github.com/FreshRSS/FreshRSS/issues/6262 Changes proposed in this pull request: - CSS: the search button was too big/not flexible enough for the height because of the padding How to test the feature manually: 1. browser configuration: change the default font size from (`16`pt mostly) to `15` or `14` 2. go to subscription management -> `Subscription tools` 3. there should be no scroll bar (because the left hand side navigation is short and the content right hand side is short too) Side effect: All buttons will be a bit smaller as before (because `px` -> `rem`) It should not be an issue at all --- p/themes/Nord/nord.css | 5 ++--- p/themes/Nord/nord.rtl.css | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) (limited to 'p/themes/Nord') diff --git a/p/themes/Nord/nord.css b/p/themes/Nord/nord.css index 907aa4dd9..9c2701e2b 100644 --- a/p/themes/Nord/nord.css +++ b/p/themes/Nord/nord.css @@ -131,7 +131,7 @@ input, select, textarea { border-radius: 6px; background-color: transparent; min-height: 25px; - line-height: 25px; + line-height: 1; vertical-align: middle; } @@ -207,7 +207,7 @@ table th, table td { /*=== Buttons */ .btn { margin: .3rem .6rem 0.3rem 0; - padding: 5px 10px; + padding: 0.25rem 0.5rem; background: var(--accent-bg); color: var(--accent); font-size: 0.9rem; @@ -985,7 +985,6 @@ li.item.active { text-align: center; } -.header .configure .btn.dropdown-toggle, .nav_menu .btn { margin: .125rem; } diff --git a/p/themes/Nord/nord.rtl.css b/p/themes/Nord/nord.rtl.css index 6354afd73..138ad12bf 100644 --- a/p/themes/Nord/nord.rtl.css +++ b/p/themes/Nord/nord.rtl.css @@ -131,7 +131,7 @@ input, select, textarea { border-radius: 6px; background-color: transparent; min-height: 25px; - line-height: 25px; + line-height: 1; vertical-align: middle; } @@ -207,7 +207,7 @@ table th, table td { /*=== Buttons */ .btn { margin: .3rem 0 0.3rem .6rem; - padding: 5px 10px; + padding: 0.25rem 0.5rem; background: var(--accent-bg); color: var(--accent); font-size: 0.9rem; @@ -985,7 +985,6 @@ li.item.active { text-align: center; } -.header .configure .btn.dropdown-toggle, .nav_menu .btn { margin: .125rem; } -- cgit v1.2.3