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:
parent
c9157be3fe
commit
2078cab690
2 changed files with 3 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue