aboutsummaryrefslogtreecommitdiff
path: root/src/styles
diff options
context:
space:
mode:
Diffstat (limited to 'src/styles')
-rw-r--r--src/styles/input.css30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/styles/input.css b/src/styles/input.css
index a46c9b13..83512bab 100644
--- a/src/styles/input.css
+++ b/src/styles/input.css
@@ -173,3 +173,33 @@ button:disabled:active {
.no-shadow {
box-shadow: none;
}
+
+@media (pointer: coarse) {
+ input,
+ button,
+ select {
+ height: 2.75rem;
+ }
+
+ input[type="text"],
+ input[type="number"],
+ input[type="date"],
+ input[type="time"],
+ input[type="file"],
+ button,
+ select {
+ padding: 0.5em 0.75em;
+ }
+
+ input[type="checkbox"] {
+ width: 1.5rem;
+ height: 1.5rem;
+ }
+
+ .smaller-button,
+ .button-square {
+ transform: none;
+ min-height: 2.75rem;
+ min-width: 2.75rem;
+ }
+}