Skip to content

Commit

Permalink
CSS: Introduce line-height variable
Browse files Browse the repository at this point in the history
For template support.

refs #5543
  • Loading branch information
lippserd committed Nov 11, 2015
1 parent 2b0cb34 commit 663b493
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions public/css/icinga/base.less
Expand Up @@ -41,6 +41,9 @@
@font-size-small: 0.917em; // 11px
@font-weight-bold: 600;

// Set line-height w/o unit so that the line-height is dynamically calculated as font-size * line-height
@line-height: 1.5;

@table-column-padding: 0.333em; // 4px

@vertical-padding: 0.5em; // 6px
Expand Down Expand Up @@ -141,8 +144,7 @@ td, th {

#main > .container, #menu, #header {
font-size: @font-size;
// Set line-height w/o unit so that the line-height is dynamically calculated as font-size * line-height
line-height: 1.5;
line-height: @line-height;
}

@media print {
Expand Down

0 comments on commit 663b493

Please sign in to comment.