diff options
author | Marius Balteanu <marius.balteanu@zitec.com> | 2024-11-18 21:07:32 +0000 |
---|---|---|
committer | Marius Balteanu <marius.balteanu@zitec.com> | 2024-11-18 21:07:32 +0000 |
commit | c6e16960f5b11ba8b4bbae1973e4e7a039110df8 (patch) | |
tree | b8cb0024156806f7453b6851729a8516a7f8d8a2 /app/assets | |
parent | d860084e2806ba3a4dd141ea9db0498ff7e34c4d (diff) | |
download | redmine-c6e16960f5b11ba8b4bbae1973e4e7a039110df8.tar.gz redmine-c6e16960f5b11ba8b4bbae1973e4e7a039110df8.zip |
Fixes missing top margin for h3 elements in sidebar by removing the margin only for the first element (#41779).
git-svn-id: https://svn.redmine.org/redmine/trunk@23292 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/assets')
-rw-r--r-- | app/assets/stylesheets/application.css | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/assets/stylesheets/application.css b/app/assets/stylesheets/application.css index 304f32284..ffcdf94a6 100644 --- a/app/assets/stylesheets/application.css +++ b/app/assets/stylesheets/application.css @@ -156,7 +156,8 @@ pre, code {font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace;} @media screen and (min-width: 1600px) and (max-width: 1919px) {#sidebar{width: 320px;}} @media screen and (min-width: 1920px) and (max-width: 2559px) {#sidebar{width: 360px;}} @media screen and (min-width: 2560px) {#sidebar{width: 380px;}} -#sidebar h3{ font-size: 0.875rem; color: #555; } +#sidebar h3{ font-size: 0.875rem; margin-top: 14px; color: #555; } +#sidebar h3:first-child{ margin-top: 0; } #sidebar hr{ width: 100%; margin: 0 auto; height: 1px; background: #ccc; border: 0; } #sidebar .contextual { margin-right: 1em; } #sidebar ul, ul.flat {margin: 0; padding: 0;} |