1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-08-13 17:24:26 +00:00

Bugfix: fix graph scaling in munstrap.

Bootstrap sets box-sizing to border-box to make lay-outing easier, but
this damages the scaling of the munin graphs, which get a border to
indicate their warning state.

This patch makes all images have box-sizing: content-box, so that the
graphs are actually the intended size, rather than the intended size
minus the border, causing a blurry image.
This commit is contained in:
Bert Peters 2018-03-06 11:29:54 +01:00
parent c9157be3fe
commit 2078cab690
2 changed files with 3 additions and 2 deletions

View file

@ -96,6 +96,7 @@ ul.groupview, ul.groupview ul {
}
img {
box-sizing: content-box;
border: 2px solid transparent;
}
@ -117,4 +118,4 @@ img.unkn {
.text-critical:hover {
color: #843534;
}
}