From 71ad1b03c2db39f7c2dc071e7e24f24304f539bd Mon Sep 17 00:00:00 2001 From: James Lyne Date: Thu, 30 Sep 2021 23:22:46 +0100 Subject: [PATCH] Fix unbalanced marker label padding when player images are disabled --- src/scss/leaflet/_markers.scss | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/scss/leaflet/_markers.scss b/src/scss/leaflet/_markers.scss index cd9640f..a319702 100644 --- a/src/scss/leaflet/_markers.scss +++ b/src/scss/leaflet/_markers.scss @@ -45,15 +45,16 @@ grid-template-columns: min-content 1fr; grid-template-rows: 1fr min-content min-content min-content 1fr; grid-auto-flow: column; - column-gap: 0.5rem; margin-left: 1.6rem; background-clip: padding-box; - padding-right: 0.5rem; + padding: 0.2rem 0.5rem; align-items: center; } .player__icon { grid-row: 1 / -1; + margin-right: 0.5rem; + margin-left: -0.3rem; } .player__name {