From e13ace3484d2d057627c9b4202edfb27a0971438 Mon Sep 17 00:00:00 2001 From: EECvision Date: Wed, 27 Apr 2022 11:10:19 +0100 Subject: [PATCH 1/3] Fix source text boxes in View Source modal should have full width --- res/css/views/elements/_CopyableText.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/res/css/views/elements/_CopyableText.scss b/res/css/views/elements/_CopyableText.scss index ceafd422730..92a1a841389 100644 --- a/res/css/views/elements/_CopyableText.scss +++ b/res/css/views/elements/_CopyableText.scss @@ -22,6 +22,7 @@ limitations under the License. max-width: 100%; &.mx_CopyableText_border { + width: 100%; border-radius: 5px; border: solid 1px $light-fg-color; margin-bottom: 10px; From 5fb2cec631f38f4c5160240e89da57e5052f23ec Mon Sep 17 00:00:00 2001 From: EECvision Date: Wed, 27 Apr 2022 14:10:56 +0100 Subject: [PATCH 2/3] Update fix for source text boxes in View Source modal should have full width --- res/css/structures/_ViewSource.scss | 4 ++++ res/css/views/elements/_CopyableText.scss | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/res/css/structures/_ViewSource.scss b/res/css/structures/_ViewSource.scss index f1ada65786e..905ac0d20b2 100644 --- a/res/css/structures/_ViewSource.scss +++ b/res/css/structures/_ViewSource.scss @@ -44,3 +44,7 @@ limitations under the License. .mx_ViewSource_container { max-width: calc(100% - 24px); } + +.mx_ViewSource_container .mx_CopyableText_border { + width: 100%; +} \ No newline at end of file diff --git a/res/css/views/elements/_CopyableText.scss b/res/css/views/elements/_CopyableText.scss index 92a1a841389..ceafd422730 100644 --- a/res/css/views/elements/_CopyableText.scss +++ b/res/css/views/elements/_CopyableText.scss @@ -22,7 +22,6 @@ limitations under the License. max-width: 100%; &.mx_CopyableText_border { - width: 100%; border-radius: 5px; border: solid 1px $light-fg-color; margin-bottom: 10px; From a390ab26a2d6607fd61dbd4ec59fee7bd9bfa73b Mon Sep 17 00:00:00 2001 From: EECvision Date: Wed, 27 Apr 2022 14:23:08 +0100 Subject: [PATCH 3/3] Fix style lint issue --- res/css/structures/_ViewSource.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/res/css/structures/_ViewSource.scss b/res/css/structures/_ViewSource.scss index 905ac0d20b2..3dc3e21489e 100644 --- a/res/css/structures/_ViewSource.scss +++ b/res/css/structures/_ViewSource.scss @@ -47,4 +47,4 @@ limitations under the License. .mx_ViewSource_container .mx_CopyableText_border { width: 100%; -} \ No newline at end of file +}