diff options
| author | unwox <me@unwox.com> | 2024-10-15 16:34:06 +0600 |
|---|---|---|
| committer | unwox <me@unwox.com> | 2024-10-15 16:34:06 +0600 |
| commit | c760c798a56fb80c891f26ca932e7d182da67069 (patch) | |
| tree | 9eaa9b69c11b385cf7bd12f16862c4eae0a79955 /static/style.css | |
| parent | 414dd4680363dd1577ebf9733263c71402eae4e4 (diff) | |
improve form styles
Diffstat (limited to 'static/style.css')
| -rw-r--r-- | static/style.css | 21 |
1 files changed, 19 insertions, 2 deletions
diff --git a/static/style.css b/static/style.css index 2574c6e..39f3685 100644 --- a/static/style.css +++ b/static/style.css @@ -84,15 +84,32 @@ body { } .form input[type="search"], -.form select { +.form select, +.form-price, +.form-price-per { margin-bottom: 0.5rem; - width: 100%; } +.form input[type="search"], +.form select, .form button { width: 100%; } +.form-price { + display: flex; + gap: 1rem; +} + +.form-price input { + flex: 1; + max-width: calc(50% - 0.5rem); +} + +.form-price-per input { + vertical-align: middle; +} + .site-icon { display: flex; gap: 0.5rem; |
