Skip to content

Commit 2a19db2

Browse files
committed
Fixed padding offset and HTML height.
1 parent a7783d3 commit 2a19db2

File tree

3 files changed

+4
-9
lines changed

3 files changed

+4
-9
lines changed

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

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

24-
html, body { height: 100%; }
2524
html { font-size: 100%; overflow-y: scroll; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
2625
body { margin: 0; font-size: 1em; line-height: 1.4; -webkit-tap-highlight-color: rgba(255,0,0, 0.62); }
2726
body, button, input, select, textarea { font-family: sans-serif; }

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -213,9 +213,9 @@
213213
-moz-box-shadow: rgba(255,255,255,1.0) 0px 0px 2px;
214214
-o-box-shadow: rgba(255,255,255,1.0) 0px 0px 2px;
215215
margin-right: 450px;
216-
@padding-top-bottom: (@line-height * 1px);
217-
padding: @padding-top-bottom ((@line-height * 2) * 1px);
218-
height: calc(~"100% -" @padding-top-bottom);
216+
padding: (@line-height * 1px) ((@line-height * 2) * 1px);
217+
@padding-vertical: ((@line-height * 1px) * 2);
218+
height: calc(~"100% -" @padding-vertical);
219219
}
220220
}
221221

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

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,6 @@ Base from [HTML5 Boilerplate](http://j.mp/rP0wmY)
3939
4040
No styleguide reference.
4141
*/
42-
html,
43-
body {
44-
height: 100%;
45-
}
4642
html {
4743
font-size: 100%;
4844
overflow-y: scroll;
@@ -1088,7 +1084,7 @@ pre {
10881084
-o-box-shadow: #ffffff 0px 0px 2px;
10891085
margin-right: 450px;
10901086
padding: 26px 52px;
1091-
height: calc(100% - 26px);
1087+
height: calc(100% - 52px);
10921088
}
10931089
.the-footer {
10941090
position: relative;

0 commit comments

Comments
 (0)