Remove top margin in modal header titles
This commit is contained in:
parent
6a8b89d908
commit
47b57de899
3 changed files with 19 additions and 5 deletions
15
app/assets/stylesheets/bootstrap_migration.scss
vendored
15
app/assets/stylesheets/bootstrap_migration.scss
vendored
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -29,10 +29,6 @@
|
|||
padding-right: 28px;
|
||||
}
|
||||
}
|
||||
|
||||
.page-title {
|
||||
margin-top: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.modal-body {
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
title: Remove top margin in modal header titles
|
||||
merge_request: 24108
|
||||
author:
|
||||
type: fixed
|
Loading…
Reference in a new issue