mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-04-05 05:40:59 +00:00
using screen-size variables for grids
This commit is contained in:
parent
7cbb1c0452
commit
2b088ef44e
1 changed files with 3 additions and 3 deletions
|
|
@ -39,21 +39,21 @@
|
|||
// Responsive: Tablets and up
|
||||
@media screen and (min-width: @screen-tablet) {
|
||||
.container {
|
||||
max-width: 728px;
|
||||
max-width: (@screen-tablet - 40);
|
||||
}
|
||||
}
|
||||
|
||||
// Responsive: Desktops and up
|
||||
@media screen and (min-width: @screen-desktop) {
|
||||
.container {
|
||||
max-width: 940px;
|
||||
max-width: (@screen-desktop - 52);
|
||||
}
|
||||
}
|
||||
|
||||
// Responsive: Large desktops and up
|
||||
@media screen and (min-width: @screen-large-desktop) {
|
||||
.container {
|
||||
max-width: 1170px;
|
||||
max-width: (@screen-large-desktop - @grid-gutter-width);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue