JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
pad tab contents properly
[hexbog.git] / style.less
index b78dfde..bca514e 100644 (file)
@@ -8,6 +8,7 @@
 @tabs-top: 120px;
 @tabtab-height: 20px; // also in main.coffee
 @tab-height: 150px; // also in main.coffee
+@tab-pad: 5px;
 @row-pad: 10px;
 @copyright-height: 20px;
 
@@ -74,6 +75,10 @@ body {
                padding: 0 0 0 3px;
                background: @tabtab-color;
        }
+       .tabbody {
+               height: @tab-height - @tabtab-height - @tab-pad * 2;
+               padding: (@tab-pad - 1) (@tab-pad - 1) @tab-pad (@tab-pad + 1);
+       }
        .selected-tab, .tab {
                overflow: hidden;
                box-shadow: 1px 1px 3px #888;