diff options
| author | 2025-06-13 14:22:56 +0200 | |
|---|---|---|
| committer | 2025-06-13 14:22:56 +0200 | |
| commit | fc074d23575710efe0a6f27af2d7916db63027d4 (patch) | |
| tree | 6186f14a1451c0ffa417c873ee9554bfd88e726d | |
| parent | [bugfix] Fix nil ptr dereffing instance acct outbox (#4267) (diff) | |
| download | gotosocial-fc074d23575710efe0a6f27af2d7916db63027d4.tar.xz | |
[bugfix/accessibility] Don't remove marker from unordered lists, recolor instead (#4268)
Closes https://codeberg.org/superseriousbusiness/gotosocial/issues/4195 by removing unnecessary styling.
Reviewed-on: https://codeberg.org/superseriousbusiness/gotosocial/pulls/4268
Co-authored-by: tobi <tobi.smethurst@protonmail.com>
Co-committed-by: tobi <tobi.smethurst@protonmail.com>
| -rw-r--r-- | web/source/css/base.css | 20 |
1 files changed, 2 insertions, 18 deletions
diff --git a/web/source/css/base.css b/web/source/css/base.css index 01b7154ac..0b8c246f4 100644 --- a/web/source/css/base.css +++ b/web/source/css/base.css @@ -249,30 +249,14 @@ select { } /* - Restyle unordered lists; outdent - and replace dot with orange dot. + Restyle lists. */ ul { - padding-left: 2.5rem; - list-style: none; - - li::before { - content: "\2022"; + li::marker { color: $border-accent; - font-weight: bold; - display: inline-block; - width: 1.5rem; - margin-left: -1.5rem; } } - -/* - Mirror the same styling a little bit - for ordered lists by making marker bold. -*/ ol { - padding-left: 2.5rem; - li::marker { font-weight: bold; } |
