mirror of
https://git.proxmox.com/git/proxmox-widget-toolkit
synced 2025-05-29 06:46:34 +00:00
css: fix debian openlogo background-size for chrom* based browsers
The debian one higher than wide and it seems, contrary to my belief, the background-size is not taken for both, height and width if only one param is set, but rather the second paramet height then defaults to `auto` which Firefox and Chromium handle different in this case. Set both to make this fixed. Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
4fc57df439
commit
665b206b0f
@ -123,12 +123,12 @@ div.right-aligned {
|
||||
|
||||
.pmx-itype-icon-debian-swirl {
|
||||
padding-left: 22px;
|
||||
background-size: 16px;
|
||||
background-size: 16px 16px; /* Chrom* needs both as else it gets cut-off due do non 1:1 ratio */
|
||||
background-image:url(../images/debian-swirl-openlogo.svg);
|
||||
}
|
||||
.pmx-itype-icon-proxmox-x {
|
||||
padding-left: 22px;
|
||||
background-size: 16px;
|
||||
background-size: 16px 16px; /* Not really required here, as here WxH is 1:1 but cannot hurt */
|
||||
background-image:url(../images/proxmox-symbol-x.svg);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user