1
0
mirror of https://git.sr.ht/~cadence/cloudtube synced 2024-11-22 15:47:30 +00:00

Improve alt text layout for icons

You can try in Firefox with about:config, svg.disabled
The alt text of subscriptions is not mixed with the settings one anymore
This commit is contained in:
bopol 2021-02-23 10:23:03 +01:00 committed by Cadence Ember
parent 2f2cebfc7d
commit 47da5e815b
No known key found for this signature in database
GPG Key ID: BC1C2C61CF521B17

View File

@ -15,9 +15,13 @@ html
.links
a(href="/").link.home CloudTube
a(href="/subscriptions" title="Subscriptions").link.icon-link
img(src=getStaticURL("html", "/static/images/subscriptions.svg") width=30 height=25 alt="Subscriptions.").icon
svg(width=30 height=25)
image(href=getStaticURL("html", "/static/images/subscriptions.svg") alt="Subscriptions.").icon
title Subscriptions
a(href="/settings" title="Settings").link.icon-link
img(src=getStaticURL("html", "/static/images/settings.svg") width=25 height=25 alt="Settings.").icon
svg(width=25 height=25)
image(href=getStaticURL("html", "/static/images/settings.svg") alt="Settings.").icon
title Settings
form(method="get" action="/search").search-form
input(type="text" placeholder="Search" name="q" autocomplete="off" value=query).search