diff options
| author | 2025-03-22 23:31:08 +0100 | |
|---|---|---|
| committer | 2025-03-22 23:31:08 +0100 | |
| commit | 0217c839793174bbbf928a9d78eead368ccf5fae (patch) | |
| tree | d821dd9160c8b1c9220ae6b4483f5bc25068a375 /p/themes/Flat | |
| parent | 64bbb42553c925ebf7177945d048c18675188584 (diff) | |
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
Diffstat (limited to 'p/themes/Flat')
| -rw-r--r-- | p/themes/Flat/flat.css | 4 | ||||
| -rw-r--r-- | p/themes/Flat/flat.rtl.css | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/p/themes/Flat/flat.css b/p/themes/Flat/flat.css index 2241f5156..da055dff8 100644 --- a/p/themes/Flat/flat.css +++ b/p/themes/Flat/flat.css @@ -47,7 +47,7 @@ input, select, textarea { border-left-color: #ddd; border-radius: 5px; min-height: 25px; - line-height: 25px; + line-height: 1; vertical-align: middle; } @@ -174,7 +174,7 @@ th { .btn { margin: 0; - padding: 5px 10px; + padding: 0.25rem 0.5rem; background: #3498db; color: #fff; font-size: 0.9rem; diff --git a/p/themes/Flat/flat.rtl.css b/p/themes/Flat/flat.rtl.css index d824c4e4a..b911f8f56 100644 --- a/p/themes/Flat/flat.rtl.css +++ b/p/themes/Flat/flat.rtl.css @@ -47,7 +47,7 @@ input, select, textarea { border-right-color: #ddd; border-radius: 5px; min-height: 25px; - line-height: 25px; + line-height: 1; vertical-align: middle; } @@ -174,7 +174,7 @@ th { .btn { margin: 0; - padding: 5px 10px; + padding: 0.25rem 0.5rem; background: #3498db; color: #fff; font-size: 0.9rem; |
