Set modal header/title size to match design spec
Set line height of title to 24px as given in spec Given 16px padding, total header height is now 56px as given in spec Use variables for padding/margin for close button (bootstrap now >4.2)
This commit is contained in:
parent
01fea14f51
commit
902641cc9a
1 changed files with 5 additions and 5 deletions
|
@ -19,14 +19,14 @@
|
|||
}
|
||||
}
|
||||
|
||||
// leave enough space for the close icon
|
||||
.modal-title {
|
||||
line-height: $gl-line-height-24;
|
||||
|
||||
// leave enough space for the close icon
|
||||
&.mw-100,
|
||||
&.w-100 {
|
||||
// after upgrading to Bootstrap 4.2 we can use $modal-header-padding-x here
|
||||
// https://github.com/twbs/bootstrap/pull/26976
|
||||
margin-right: -28px;
|
||||
padding-right: 28px;
|
||||
margin-right: -$modal-header-padding-x;
|
||||
padding-right: $modal-header-padding-x;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue