aboutsummaryrefslogtreecommitdiffstats
path: root/web/src/css/layout.less
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2014-09-15 12:37:52 +1200
committerAldo Cortesi <aldo@nullcube.com>2014-09-15 12:37:52 +1200
commit563078df2473a2a65c1a408e4cb27e79c95b7c87 (patch)
tree0fcfbb6331032b73d07f969d9acfb8db8f893863 /web/src/css/layout.less
parent2cefd05be934ded2fee61b10d93769e388f99230 (diff)
downloadmitmproxy-563078df2473a2a65c1a408e4cb27e79c95b7c87.tar.gz
mitmproxy-563078df2473a2a65c1a408e4cb27e79c95b7c87.tar.bz2
mitmproxy-563078df2473a2a65c1a408e4cb27e79c95b7c87.zip
Client-side cleanup
- Remove grunt - Formatting and spacing. There shall be 4 spaces in a tab. Not 3. Not 5. And 2 is right out.
Diffstat (limited to 'web/src/css/layout.less')
-rw-r--r--web/src/css/layout.less32
1 files changed, 16 insertions, 16 deletions
diff --git a/web/src/css/layout.less b/web/src/css/layout.less
index e1f22249..7c5f79b9 100644
--- a/web/src/css/layout.less
+++ b/web/src/css/layout.less
@@ -1,36 +1,36 @@
html, body, #container {
- height: 100%;
- margin: 0;
- overflow: hidden;
+ height: 100%;
+ margin: 0;
+ overflow: hidden;
}
header, footer {
- display: block;
+ display: block;
}
@headerheight: 153px;
@footerheight: 25px;
#container {
- //Set padding on container so that #main can take 100% height
- //If we don't do it, the scrollbars will be too large.
- padding: @headerheight 0 @footerheight;
+ //Set padding on container so that #main can take 100% height
+ //If we don't do it, the scrollbars will be too large.
+ padding: @headerheight 0 @footerheight;
}
header {
- height: @headerheight;
- //Substract #container padding
- margin-top: -@headerheight;
+ height: @headerheight;
+ //Substract #container padding
+ margin-top: -@headerheight;
}
#main {
- height: 100%;
- display: block;
- overflow-y: auto;
+ height: 100%;
+ display: block;
+ overflow-y: auto;
}
footer {
- //This starts at the beginning of the #container padding, all fine.
- height: @footerheight;
- line-height: @footerheight;
+ //This starts at the beginning of the #container padding, all fine.
+ height: @footerheight;
+ line-height: @footerheight;
}