Skip to content

Commit 687fe1a

Browse files
committed
(less) Merge pull request twbs#12249 from twbs/modal-md
add & use @modal-md Less var for uniformity
2 parents b43482d + d8f493d commit 687fe1a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

modals.less

+1-1
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@
124124

125125
// Automatically set modal's width for larger viewports
126126
.modal-dialog {
127-
width: 600px;
127+
width: @modal-md;
128128
margin: 30px auto;
129129
}
130130
.modal-content {

variables.less

+1
Original file line numberDiff line numberDiff line change
@@ -561,6 +561,7 @@
561561
@modal-footer-border-color: @modal-header-border-color;
562562

563563
@modal-lg: 900px;
564+
@modal-md: 600px;
564565
@modal-sm: 300px;
565566

566567

0 commit comments

Comments
 (0)