Skip to content

Commit 412d058

Browse files
committed
fixed jumbotron size issue at low resolution. not a good solution at all but an improvement.
1 parent 4302498 commit 412d058

File tree

2 files changed

+12
-5
lines changed

2 files changed

+12
-5
lines changed

war/css/bootstrap-responsive.css

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -788,13 +788,13 @@
788788

789789
@media (max-width: 767px) {
790790
body {
791-
padding-right: 0px;
792-
padding-left: 0px;
791+
padding-right: 10px;
792+
padding-left: 10px;
793793
}
794794
.navbar-fixed-top,
795795
.navbar-fixed-bottom,
796796
.navbar-static-top {
797-
margin-right: 0px;
797+
margin-right: -10px;
798798
margin-left: 0px;
799799
}
800800
.container-fluid {
@@ -810,7 +810,7 @@
810810
margin-left: 0;
811811
}
812812
.container {
813-
width: auto;
813+
width: auto;
814814
}
815815
.row-fluid {
816816
width: 100%;

war/css/docs.css

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -894,7 +894,9 @@ form.bs-docs-example {
894894
}
895895
/* Widen masthead and social buttons to fill body padding */
896896
.jumbotron {
897-
margin-top: -20px; /* Offset bottom margin on .navbar */
897+
margin-top: -20px; /* Offset bottom margin on .navbar */
898+
margin-left: -10;
899+
margin-right: -10;
898900
}
899901
/* Adjust sidenav width */
900902
.bs-docs-sidenav {
@@ -953,6 +955,11 @@ form.bs-docs-example {
953955
.footer p {
954956
margin-bottom: 9px;
955957
}
958+
.jumbotron {
959+
margin-top: -20px; /* Offset bottom margin on .navbar */
960+
margin-left: -20;
961+
margin-right: -20;
962+
}
956963
}
957964

958965
/* Landscape phones

0 commit comments

Comments
 (0)