diff --git a/assets/map/styles.css b/assets/map/styles.css index 92de178..c10b550 100644 --- a/assets/map/styles.css +++ b/assets/map/styles.css @@ -275,6 +275,15 @@ canvas:active { padding: 8px; } +/* Feste Breite: sonst waere die Leiste so breit wie das breiteste Symbol (z.B. 👁) und + wuerde in das Taktiken-Fenster daneben ragen. 16 + 8 + 46 + 8 + 2 = 80px vom Rand. */ +#zoom-controls button { + width: 46px; + padding-left: 0; + padding-right: 0; + text-align: center; +} + button { background: rgba(50, 50, 80, 0.8); border: 1px solid var(--border-color); @@ -480,7 +489,7 @@ button:hover { #tactic-panel { position: absolute; top: 16px; - right: 76px; + right: 90px; /* neben der Steuerleiste (80px) mit 10px Abstand */ width: 290px; max-height: calc(100% - 90px); display: flex; @@ -939,13 +948,14 @@ button.tp-item.active { } #zoom-controls button { - padding: 6px 10px; + width: 40px; + padding: 6px 0; } #tactic-panel { top: 60px; left: 8px; - right: 64px; + right: 68px; /* Steuerleiste: 8 + 4 + 40 + 4 + 2 = 58px, dazu 10px Abstand */ width: auto; max-height: 45%; padding: 6px 8px;