diff options
author | Dennis Tang <dtang@gitlab.com> | 2019-03-05 00:19:41 +0000 |
---|---|---|
committer | Dennis Tang <dtang@gitlab.com> | 2019-03-05 22:53:08 +0000 |
commit | 8c7e666c422c208ebc13e5e0b7d1e33a06193adb (patch) | |
tree | c63f638751981a9e66fbfde8e25345260859bd0c | |
parent | 7b4130d0f7390629d683e4365279ab5554bbcfc4 (diff) | |
download | gitlab-ce-8c7e666c422c208ebc13e5e0b7d1e33a06193adb.tar.gz |
Reduce height of instance system message
- Reduces height of instance system header and footer to 16px
- Pulls the system message up to better fit the container
3 files changed, 7 insertions, 2 deletions
diff --git a/app/assets/stylesheets/framework/system_messages.scss b/app/assets/stylesheets/framework/system_messages.scss index 3d66136938f..e5edddec71e 100644 --- a/app/assets/stylesheets/framework/system_messages.scss +++ b/app/assets/stylesheets/framework/system_messages.scss @@ -12,7 +12,7 @@ p { @include str-truncated(100%); - margin-top: 0; + margin-top: -1px; margin-bottom: 0; } } diff --git a/app/assets/stylesheets/framework/variables.scss b/app/assets/stylesheets/framework/variables.scss index 1639e73a66a..42a161cc9a1 100644 --- a/app/assets/stylesheets/framework/variables.scss +++ b/app/assets/stylesheets/framework/variables.scss @@ -277,7 +277,7 @@ $general-hover-transition-duration: 100ms; $general-hover-transition-curve: linear; $highlight-changes-color: rgb(235, 255, 232); $performance-bar-height: 35px; -$system-header-height: 35px; +$system-header-height: 16px; $system-footer-height: $system-header-height; $flash-height: 52px; $context-header-height: 60px; diff --git a/changelogs/unreleased/58410-change-pixel-size-of-instance-header-footer-message-to-16px.yml b/changelogs/unreleased/58410-change-pixel-size-of-instance-header-footer-message-to-16px.yml new file mode 100644 index 00000000000..3e494847e75 --- /dev/null +++ b/changelogs/unreleased/58410-change-pixel-size-of-instance-header-footer-message-to-16px.yml @@ -0,0 +1,5 @@ +--- +title: Reduce height of instance system header and footer +merge_request: 25752 +author: +type: changed |