From da6b16c3db9c0a104992d42e2bead5b5bb50896d Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Tue, 15 Nov 2022 09:24:40 +0100 Subject: [PATCH] ui: improve tape/drive icon positioning/size Signed-off-by: Thomas Lamprecht --- www/css/ext6-pbs.css | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/www/css/ext6-pbs.css b/www/css/ext6-pbs.css index 3c8bed55..3d8fbddf 100644 --- a/www/css/ext6-pbs.css +++ b/www/css/ext6-pbs.css @@ -292,21 +292,27 @@ span.snapshot-comment-column { /*' PBS specific icons */ .pbs-icon-tape { - background-repeat: no-repeat; - background-position: bottom; padding: 0; - background-size: 16px; - height: 20px; + height: 16px; + width: 16px; background-image:url(../images/icon-tape.svg); + background-position: bottom; + background-repeat: no-repeat; + background-size: 16px; } .pbs-icon-tape-drive { - background-repeat: no-repeat; - background-position: bottom; padding: 0; - background-size: 16px; - height: 20px; + height: 16px; + width: 16px; background-image:url(../images/icon-tape-drive.svg); + background-position: bottom; + background-repeat: no-repeat; + background-size: 16px; +} + +.x-treelist-item-icon.pbs-icon-tape, .x-treelist-item-icon.pbs-icon-tape-drive { + height: 20px; } .info-pointer div.right-aligned {