summaryrefslogtreecommitdiff
path: root/app/assets/stylesheets/bootstrap_migration.scss
diff options
context:
space:
mode:
authorLukas Eipert <leipert@gitlab.com>2019-01-02 21:42:55 +0100
committerLukas Eipert <leipert@gitlab.com>2019-01-03 08:07:21 +0100
commit47b57de8997dd9a256de141ebed59b73f198a2b1 (patch)
treeb356a29daf90af9eae7295277f51ded6437cf94b /app/assets/stylesheets/bootstrap_migration.scss
parent6a8b89d9086cbe1a083641b4747c5acba1e3c2c6 (diff)
downloadgitlab-ce-47b57de8997dd9a256de141ebed59b73f198a2b1.tar.gz
Remove top margin in modal header titles55883-modal-header-titles-have-an-unnecessary-top-margin
Diffstat (limited to 'app/assets/stylesheets/bootstrap_migration.scss')
-rw-r--r--app/assets/stylesheets/bootstrap_migration.scss15
1 files changed, 14 insertions, 1 deletions
diff --git a/app/assets/stylesheets/bootstrap_migration.scss b/app/assets/stylesheets/bootstrap_migration.scss
index f0671e36130..b7dbb48632e 100644
--- a/app/assets/stylesheets/bootstrap_migration.scss
+++ b/app/assets/stylesheets/bootstrap_migration.scss
@@ -70,6 +70,17 @@ h6,
margin-bottom: 10px;
}
+/* Our adjustments to hx & .hx above add unnecessary margins to modal-title
+ and page-title in modals, so we set them to 0 in order to have properly
+ formatted modal headers. */
+.modal-header {
+ .modal-title,
+ .page-title {
+ margin-top: 0;
+ margin-bottom: 0;
+ }
+}
+
h5,
.h5 {
font-size: $gl-font-size;
@@ -142,7 +153,9 @@ table {
@include media-breakpoint-up($breakpoint) {
$infix: breakpoint-infix($breakpoint, $grid-breakpoints);
- .d#{$infix}-table-header-group { display: table-header-group !important; }
+ .d#{$infix}-table-header-group {
+ display: table-header-group !important;
+ }
}
}