diff options
author | Rigel Kent <sendmemail@rigelk.eu> | 2020-11-21 12:43:53 +0100 |
---|---|---|
committer | Rigel Kent <sendmemail@rigelk.eu> | 2020-11-21 12:44:05 +0100 |
commit | c5dcdab330b1767c0ce25d788ed51119f74e7e71 (patch) | |
tree | e62aabb66a1592f0ef1fe159d97e65779af89873 /client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.scss | |
parent | 47e363bbe961c03c2a7d13b8da3de4b90047b002 (diff) | |
download | PeerTube-c5dcdab330b1767c0ce25d788ed51119f74e7e71.tar.gz PeerTube-c5dcdab330b1767c0ce25d788ed51119f74e7e71.tar.zst PeerTube-c5dcdab330b1767c0ce25d788ed51119f74e7e71.zip |
add explicit numbers in configuration number inputs
fixes #1346
Diffstat (limited to 'client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.scss')
-rw-r--r-- | client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.scss | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.scss b/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.scss index 14cd6bd8b..d5352b472 100644 --- a/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.scss +++ b/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.scss | |||
@@ -22,6 +22,17 @@ input[type=number] { | |||
22 | display: block; | 22 | display: block; |
23 | } | 23 | } |
24 | 24 | ||
25 | .number-with-unit { | ||
26 | position: relative; | ||
27 | width: min-content; | ||
28 | |||
29 | input[type=number] + span { | ||
30 | position: absolute; | ||
31 | top: 5px; | ||
32 | right: 2.5rem; | ||
33 | } | ||
34 | } | ||
35 | |||
25 | input[type=checkbox] { | 36 | input[type=checkbox] { |
26 | @include peertube-checkbox(1px); | 37 | @include peertube-checkbox(1px); |
27 | } | 38 | } |