Skip to content

Commit

Permalink
dashboard: make the log window heights a multiple of (13 + 4)px so th…
Browse files Browse the repository at this point in the history
…at lines fit nicely (at least when there is no horizontal scrollbar)
  • Loading branch information
ivan committed Jun 9, 2023
1 parent 7077606 commit a80ca10
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions dashboard/dashboard.html
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,8 @@
.log-window {
background-color: #FFF7E1;
overflow-y: scroll;
height: 192px;
/* This should be a multiple of (13 + 4)px */
height: 204px;
border: 1px solid #999;
margin: 0 0 1em 0;
border-radius: 3px;
Expand All @@ -232,7 +233,8 @@
}

.log-window-expanded {
height: 384px;
/* This should be 2 times the .log-window height */
height: 408px;
}

.line-normal {
Expand Down

0 comments on commit a80ca10

Please sign in to comment.