Skip to content

Commit

Permalink
bar: panel height fits to the viewport [Closes nette#184]
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed May 21, 2016
1 parent 6a671fd commit fdc980d
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/Tracy/assets/Bar/bar.css
Expand Up @@ -199,7 +199,7 @@ body #tracy-debug {
font: normal normal 23px/1.4 Tahoma, sans-serif;
color: #575753;
margin: -5px -5px 5px;
padding: 0 25px 5px 5px;
padding: 0 25px 0 5px;
max-width: 700px;
word-wrap: break-word;
}
Expand All @@ -211,6 +211,13 @@ body #tracy-debug {
overflow: auto;
}

@media (max-height: 555px) {
#tracy-debug .tracy-mode-peek .tracy-inner,
#tracy-debug .tracy-mode-float .tracy-inner {
max-height: calc(100vh - 55px);
}
}

#tracy-debug .tracy-panel .tracy-icons {
display: none;
}
Expand Down

0 comments on commit fdc980d

Please sign in to comment.