Skip to content

Commit 22541d3

Browse files
authored
Merge pull request #71 from WSI-Services/hight-long-pages
Updated style rules to provide `min-height` values.
2 parents 3822aa7 + 7f76459 commit 22541d3

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

assets/themes/the-program/css/_base.less

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ Base from [HTML5 Boilerplate](http://j.mp/rP0wmY)
2121
No styleguide reference.
2222
*/
2323

24-
html { height: 100%; font-size: 100%; overflow-y: scroll; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
25-
body { height: 100%; margin: 0; font-size: 1em; line-height: 1.4; -webkit-tap-highlight-color: rgba(255,0,0, 0.62); }
24+
html { font-size: 100%; overflow-y: scroll; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
25+
body { min-height: 100%; height: 100%; margin: 0; font-size: 1em; line-height: 1.4; -webkit-tap-highlight-color: rgba(255,0,0, 0.62); }
2626
body, button, input, select, textarea { font-family: sans-serif; }
2727
::-moz-selection { background: #073642; color: #fff; text-shadow: none; }
2828
::selection { background: #073642; color: #fff; text-shadow: none; }

assets/themes/the-program/css/_mediaqueries.less

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@
206206
float: left;
207207
width: calc(~"81% - 1px");
208208
margin-right: -450px;
209-
height: 100%;
209+
min-height: 100%;
210210
.unit-body {
211211
border-right: 1px solid rgba(0,0,0,0.2);
212212
-webkit-box-shadow: rgba(255,255,255,1.0) 0px 0px 2px;
@@ -215,7 +215,7 @@
215215
margin-right: 450px;
216216
padding: (@line-height * 1px) ((@line-height * 2) * 1px);
217217
@padding-vertical: ((@line-height * 1px) * 2);
218-
height: calc(~"100% -" @padding-vertical);
218+
min-height: calc(~"100% -" @padding-vertical);
219219
}
220220
}
221221

assets/themes/the-program/css/style.css

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,13 @@ Base from [HTML5 Boilerplate](http://j.mp/rP0wmY)
4040
No styleguide reference.
4141
*/
4242
html {
43-
height: 100%;
4443
font-size: 100%;
4544
overflow-y: scroll;
4645
-webkit-text-size-adjust: 100%;
4746
-ms-text-size-adjust: 100%;
4847
}
4948
body {
49+
min-height: 100%;
5050
height: 100%;
5151
margin: 0;
5252
font-size: 1em;
@@ -554,7 +554,7 @@ html {
554554
background-repeat: repeat;
555555
background-position: 0 0;
556556
background-color: #e2e2de;
557-
height: 100%;
557+
min-height: 100%;
558558
}
559559
.body .unit-body {
560560
background-color: #fafafa;
@@ -1077,7 +1077,7 @@ pre {
10771077
float: left;
10781078
width: calc(81% - 1px);
10791079
margin-right: -450px;
1080-
height: 100%;
1080+
min-height: 100%;
10811081
}
10821082
.body .unit-body {
10831083
border-right: 1px solid rgba(0, 0, 0, 0.2);
@@ -1086,7 +1086,7 @@ pre {
10861086
-o-box-shadow: #ffffff 0px 0px 2px;
10871087
margin-right: 450px;
10881088
padding: 26px 52px;
1089-
height: calc(100% - 52px);
1089+
min-height: calc(100% - 52px);
10901090
}
10911091
.the-footer {
10921092
position: relative;

assets/themes/the-program/css/style.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ html {
2020
background-repeat: repeat;
2121
background-position: 0 0;
2222
background-color: #e2e2de;
23-
height: 100%;
23+
min-height: 100%;
2424
}
2525

2626
.body {

0 commit comments

Comments
 (0)