diff options
author | Jay Sitter <jsitter@gmail.com> | 2014-10-31 09:53:01 -0400 |
---|---|---|
committer | Jay Sitter <jsitter@gmail.com> | 2014-10-31 09:53:01 -0400 |
commit | 1087b3cb4ef79ff5f1599ebe479785f9d2e90c35 (patch) | |
tree | d4d2b24a6adc1231c5f90361adc868ef56dbd354 | |
parent | f60c9b00ab65898fee5a96441beaa1a9ddd86295 (diff) | |
download | wallabag-1087b3cb4ef79ff5f1599ebe479785f9d2e90c35.tar.gz wallabag-1087b3cb4ef79ff5f1599ebe479785f9d2e90c35.tar.zst wallabag-1087b3cb4ef79ff5f1599ebe479785f9d2e90c35.zip |
Adding right margin to labels (to compensate for now-missing left margin on input fields)
-rw-r--r-- | themes/baggy/_search-form.twig | 2 | ||||
-rwxr-xr-x | themes/baggy/css/main.css | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/themes/baggy/_search-form.twig b/themes/baggy/_search-form.twig index 45660b75..35f3a994 100644 --- a/themes/baggy/_search-form.twig +++ b/themes/baggy/_search-form.twig | |||
@@ -2,7 +2,7 @@ | |||
2 | <form method="get" action="index.php"> | 2 | <form method="get" action="index.php"> |
3 | <a href="javascript: void(null);" id="search-form-close" class="popup-close">×</a> | 3 | <a href="javascript: void(null);" id="search-form-close" class="popup-close">×</a> |
4 | <input type="hidden" name="view" value="search"></input> | 4 | <input type="hidden" name="view" value="search"></input> |
5 | <label>{% trans "Search" %}</label>: <input required placeholder="{% trans "Enter your search here" %}" type="text" name="search" id="searchfield" /> | 5 | <label>{% trans "Search" %}:</label><input required placeholder="{% trans "Enter your search here" %}" type="text" name="search" id="searchfield" /> |
6 | <input id="submit-search" type="submit" value="{% trans "Search" %} !"></input> | 6 | <input id="submit-search" type="submit" value="{% trans "Search" %} !"></input> |
7 | </form> | 7 | </form> |
8 | </div> | 8 | </div> |
diff --git a/themes/baggy/css/main.css b/themes/baggy/css/main.css index 54b7b751..873d1799 100755 --- a/themes/baggy/css/main.css +++ b/themes/baggy/css/main.css | |||
@@ -104,10 +104,6 @@ form input[type="text"], select, form input[type="password"], form input[type="u | |||
104 | } | 104 | } |
105 | } | 105 | } |
106 | 106 | ||
107 | fieldset label { | ||
108 | min-width: 12.5em; | ||
109 | } | ||
110 | |||
111 | .inline .row { | 107 | .inline .row { |
112 | display: inline-block; | 108 | display: inline-block; |
113 | margin-right: 0.5em; | 109 | margin-right: 0.5em; |
@@ -119,10 +115,14 @@ fieldset label { | |||
119 | 115 | ||
120 | fieldset label { | 116 | fieldset label { |
121 | display: inline-block; | 117 | display: inline-block; |
122 | margin-right: 0.5em; | 118 | min-width: 12.5em; |
123 | color: #666; | 119 | color: #666; |
124 | } | 120 | } |
125 | 121 | ||
122 | label { | ||
123 | margin-right: 0.5em; | ||
124 | } | ||
125 | |||
126 | form .row { | 126 | form .row { |
127 | margin-bottom: 0.5em; | 127 | margin-bottom: 0.5em; |
128 | } | 128 | } |