diff --git a/public/css/hud.css b/public/css/hud.css index 7500aa6..d708ddf 100644 --- a/public/css/hud.css +++ b/public/css/hud.css @@ -206,23 +206,15 @@ } .hud-res-icon { - font-size: 0; /* Emoji-Text verstecken */ - line-height: 1; - display: flex; - align-items: center; - justify-content: center; + font-size: 0; /* Emoji unsichtbar */ + color: transparent; + display: inline-block; width: 20px; height: 20px; flex-shrink: 0; -} - -.hud-res-icon::before { - content: ""; - display: block; - width: 20px; - height: 20px; background: url("/public/images/items/blauer_cristal.png") center / contain no-repeat; filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.7)); + vertical-align: middle; } /* Blauer Kristall / Gems – Bild aus der Datenbank */