From 3ef8204534ea5b860813741fcd2d920cc4390109 Mon Sep 17 00:00:00 2001 From: Johnny Date: Sat, 3 Aug 2019 09:43:06 +1000 Subject: [PATCH 1/2] Small textarea change in Settings This ensures that the textareas in the Settings can only be resized vertically, so that they don't break out of the container. If you went to resize it horizontally, it would actually close the settings dialog anyway. --- src/css/style.css | 1 + 1 file changed, 1 insertion(+) diff --git a/src/css/style.css b/src/css/style.css index e999a37b3..29883c806 100644 --- a/src/css/style.css +++ b/src/css/style.css @@ -702,6 +702,7 @@ div[data-checked="false"] > .suboption-list { font-family: monospace; min-width: 100%; max-width: 100%; + resize: vertical; } #fourchanx-settings code { color: #000; From d0fcbc8e4b200130ece7dc50bcae8584faa4f9b1 Mon Sep 17 00:00:00 2001 From: Johnny Date: Sat, 3 Aug 2019 09:55:38 +1000 Subject: [PATCH 2/2] Update texarea width With the vertical only resize, also means that the width can be 100% without the min/max --- src/css/style.css | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/css/style.css b/src/css/style.css index 29883c806..8665c4eab 100644 --- a/src/css/style.css +++ b/src/css/style.css @@ -700,8 +700,7 @@ div[data-checked="false"] > .suboption-list { } #fourchanx-settings textarea { font-family: monospace; - min-width: 100%; - max-width: 100%; + width: 100%; resize: vertical; } #fourchanx-settings code {