Skip to content

Commit 053fedb

Browse files
committed
fix(bootstrap): removed styles breaking responsiveness for high-res screens
1 parent 46466b1 commit 053fedb

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

app/templates/client/app/app(css).css

+2-2
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@
3737
color: #000;
3838
padding: 0.2em 0;
3939
}
40-
40+
<% if (!filters.bootstrap) { %>
4141
/* Responsive: Portrait tablets and up */
4242
@media screen and (min-width: 768px) {
4343
.container {
4444
max-width: 730px;
4545
}
46-
}
46+
}<% } %>

app/templates/client/app/app(less).less

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@
1414
color: #000;
1515
padding: 0.2em 0;
1616
}
17-
17+
<% if (!filters.bootstrap) { %>
1818
/* Responsive: Portrait tablets and up */
1919
@media screen and (min-width: 768px) {
2020
.container {
2121
max-width: 730px;
2222
}
2323
}
24-
24+
<% } %>
2525
// injector
2626
@import 'account/login/login.less';
2727
@import 'admin/admin.less';

app/templates/client/app/app(sass).scss

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@ $fa-font-path: "/bower_components/font-awesome/fonts";
1414
color: #000;
1515
padding: 0.2em 0;
1616
}
17-
17+
<% if (!filters.bootstrap) { %>
1818
/* Responsive: Portrait tablets and up */
1919
@media screen and (min-width: 768px) {
2020
.container {
2121
max-width: 730px;
2222
}
2323
}
24-
24+
<% } %>
2525
// Component styles are injected through grunt
2626
// injector
2727
@import 'account/login/login.scss';

app/templates/client/app/app(stylus).styl

+4-4
Original file line numberDiff line numberDiff line change
@@ -27,21 +27,21 @@
2727
font-weight: normal
2828
font-style: normal
2929

30-
//
30+
//
3131
// App-wide Styles
32-
//
32+
//
3333

3434
.browsehappy
3535
background #ccc
3636
color #000
3737
margin 0.2em 0
3838
padding 0.2em 0
39-
39+
<% if (!filters.bootstrap) { %>
4040
// Responsive: Portrait tablets and up
4141
@media screen and (min-width: 768px)
4242
.container
4343
max-width 730px
44-
44+
<% } %>
4545
// Component styles are injected through grunt
4646
// injector
4747
@import "account/login/login"

0 commit comments

Comments
 (0)