From 7593d24cd684bec9cabb79975ee997f7e64387c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nil=C3=A9ane?= Date: Tue, 26 Dec 2023 01:17:06 +0100 Subject: [PATCH] Centered poll option items --- TangerineUI-cherry.css | 5 +++-- TangerineUI-purple.css | 5 +++-- TangerineUI.css | 5 +++-- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/TangerineUI-cherry.css b/TangerineUI-cherry.css index 325e1fb..251f186 100644 --- a/TangerineUI-cherry.css +++ b/TangerineUI-cherry.css @@ -1541,6 +1541,7 @@ body.app-body { transition: all .2s; position: relative; z-index: 1; + align-items: center; } .app-body .poll__option.selectable { cursor: pointer; @@ -1598,8 +1599,8 @@ body.app-body { } .app-body .poll__voted { position: absolute; - top: 7px; right: 3px; + height: 20px; } .app-body .poll__option:has(+ .poll__chart.leading) .poll__voted { right: 28px; @@ -1636,7 +1637,7 @@ body.app-body { color: var(--color-content-fg); background-color: transparent; background-size: 20px; - background-position: right 8px top 7px; + background-position: right 8px center; background-repeat: no-repeat; background-image: var(--icon-trophy); } diff --git a/TangerineUI-purple.css b/TangerineUI-purple.css index 10d717e..38cab27 100644 --- a/TangerineUI-purple.css +++ b/TangerineUI-purple.css @@ -1541,6 +1541,7 @@ body.app-body { transition: all .2s; position: relative; z-index: 1; + align-items: center; } .app-body .poll__option.selectable { cursor: pointer; @@ -1598,8 +1599,8 @@ body.app-body { } .app-body .poll__voted { position: absolute; - top: 7px; right: 3px; + height: 20px; } .app-body .poll__option:has(+ .poll__chart.leading) .poll__voted { right: 28px; @@ -1636,7 +1637,7 @@ body.app-body { color: var(--color-content-fg); background-color: transparent; background-size: 20px; - background-position: right 8px top 7px; + background-position: right 8px center; background-repeat: no-repeat; background-image: var(--icon-trophy); } diff --git a/TangerineUI.css b/TangerineUI.css index cef27d2..cd29cf6 100644 --- a/TangerineUI.css +++ b/TangerineUI.css @@ -1541,6 +1541,7 @@ body.app-body { transition: all .2s; position: relative; z-index: 1; + align-items: center; } .app-body .poll__option.selectable { cursor: pointer; @@ -1598,8 +1599,8 @@ body.app-body { } .app-body .poll__voted { position: absolute; - top: 7px; right: 3px; + height: 20px; } .app-body .poll__option:has(+ .poll__chart.leading) .poll__voted { right: 28px; @@ -1636,7 +1637,7 @@ body.app-body { color: var(--color-content-fg); background-color: transparent; background-size: 20px; - background-position: right 8px top 7px; + background-position: right 8px center; background-repeat: no-repeat; background-image: var(--icon-trophy); }