summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShyam Sunder <sgsunder1@gmail.com>2020-04-07 21:56:30 -0400
committerShyam Sunder <sgsunder1@gmail.com>2020-04-07 21:56:30 -0400
commit8c01c7714fc1ed64a9cbdfec0020a39facb5a14a (patch)
tree26549b06eaf1ae1762458c9b06cd1d11901a68ef
parent377fe52072b202dda09cf36f4fa38600749f7a42 (diff)
client/css: prevent word-wrapping in source edit textarea
-rw-r--r--client/css/post-main-view.styl6
1 files changed, 6 insertions, 0 deletions
diff --git a/client/css/post-main-view.styl b/client/css/post-main-view.styl
index 9e59641..aeb99ab 100644
--- a/client/css/post-main-view.styl
+++ b/client/css/post-main-view.styl
@@ -141,6 +141,12 @@
margin: 0
padding: 0
+ .post-source
+ textarea
+ white-space: pre
+ overflow-wrap: normal
+ overflow-x: scroll
+
form
width: auto