From e605e048d00c009b5511fef2635968786304fdb3 Mon Sep 17 00:00:00 2001
From: Elmar Ludwig <elmar.ludwig@uni-osnabrueck.de>
Date: Mon, 27 Mar 2023 17:26:45 +0000
Subject: [PATCH] apply textarea max-width to ckeditor, fixes #1527

Closes #1527

Merge request studip/studip!1667
---
 resources/assets/stylesheets/scss/forms.scss | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/resources/assets/stylesheets/scss/forms.scss b/resources/assets/stylesheets/scss/forms.scss
index a92467d30b8..bdd34df0f0b 100644
--- a/resources/assets/stylesheets/scss/forms.scss
+++ b/resources/assets/stylesheets/scss/forms.scss
@@ -70,6 +70,10 @@ form.default {
         }
     }
 
+    textarea:not(.size-l) + .ck-editor {
+        max-width: $max-width-m;
+    }
+
     .quicksearch_container {
         max-width: $max-width-m;
     }
-- 
GitLab