Merge pull request 'Consistent padding for input and select elements, add 2 spaces' (#362) from ltGuillaume/teddit:main into main

Reviewed-on: https://codeberg.org/teddit/teddit/pulls/362
This commit is contained in:
teddit 2022-10-29 20:54:10 +02:00
commit bb06a47b1a
2 changed files with 5 additions and 3 deletions

View File

@ -280,9 +280,11 @@ header .tabmenu li.active a {
color: white; color: white;
padding: 16px; padding: 16px;
} }
input, select {
padding: 2px;
}
input[type="submit"], input[type="submit"],
.btn { .btn {
padding: 3px;
margin-top: 7px; margin-top: 7px;
margin-right: 10px; margin-right: 10px;
border-radius: 0; border-radius: 0;

View File

@ -26,13 +26,13 @@ html
else else
input(type="text", name="domain_youtube", id="domain_youtube", placeholder="e.g. invidious.site") input(type="text", name="domain_youtube", id="domain_youtube", placeholder="e.g. invidious.site")
.setting .setting
label(for="domain_instagram") Replace Instagram links with Bibliogram (blank to disable): label(for="domain_instagram") Replace Instagram links with Bibliogram (blank to disable):
if(user_preferences.domain_instagram != '' && typeof(user_preferences.domain_instagram) != 'undefined') if(user_preferences.domain_instagram != '' && typeof(user_preferences.domain_instagram) != 'undefined')
input(type="text", name="domain_instagram", id="domain_instagram", value="" + user_preferences.domain_instagram + "", placeholder="e.g. bibliogram.art") input(type="text", name="domain_instagram", id="domain_instagram", value="" + user_preferences.domain_instagram + "", placeholder="e.g. bibliogram.art")
else else
input(type="text", name="domain_instagram", id="domain_instagram", placeholder="e.g. bibliogram.art") input(type="text", name="domain_instagram", id="domain_instagram", placeholder="e.g. bibliogram.art")
.setting .setting
label(for="domain_quora") Replace Quora links with Quetre (blank to disable): label(for="domain_quora") Replace Quora links with Quetre (blank to disable):
if(user_preferences.domain_quora != '' && typeof(user_preferences.domain_quora) != 'undefined') if(user_preferences.domain_quora != '' && typeof(user_preferences.domain_quora) != 'undefined')
input(type="text", name="domain_quora", id="domain_quora", value="" + user_preferences.domain_quora + "", placeholder="e.g. quetre.iket.me") input(type="text", name="domain_quora", id="domain_quora", value="" + user_preferences.domain_quora + "", placeholder="e.g. quetre.iket.me")
else else