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:
Thomas Lamprecht 2021-07-02 09:16:41 +02:00
parent 4fc57df439
commit 665b206b0f

View File

@ -123,12 +123,12 @@ div.right-aligned {
.pmx-itype-icon-debian-swirl { .pmx-itype-icon-debian-swirl {
padding-left: 22px; 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); background-image:url(../images/debian-swirl-openlogo.svg);
} }
.pmx-itype-icon-proxmox-x { .pmx-itype-icon-proxmox-x {
padding-left: 22px; 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); background-image:url(../images/proxmox-symbol-x.svg);
} }