Skip to content

Commit 0c1a8a7

Browse files
committed
fix: safari broken input
1 parent fb9f339 commit 0c1a8a7

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

frontend/src/styles/test.scss

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -607,7 +607,10 @@
607607
caret-color: transparent;
608608
resize: none;
609609
overflow: hidden;
610-
white-space: nowrap; // if the text wraps, ctrl backspace will not work on firefox >:|
610+
// if the text wraps, ctrl backspace will not work on firefox >:|
611+
// and holy shit do not use white-space: nowrap here because the hellspawn that is safari
612+
// is TRIMMING the value on focus when using that (and the input system relies on a leading space)
613+
text-wrap-mode: nowrap;
611614
}
612615

613616
#capsWarning {

0 commit comments

Comments
 (0)