From 20ecc20e205858b6f9a8c0d3cd8fba69b0461cc4 Mon Sep 17 00:00:00 2001 From: Peter Zimon Date: Wed, 6 Nov 2019 08:53:13 +0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fixed=20code=20injection=20input?= =?UTF-8?q?=20sizes=20when=20they=20have=20long=20lines=20(#1394)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit no issue --- ghost/admin/app/styles/layouts/settings.css | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/ghost/admin/app/styles/layouts/settings.css b/ghost/admin/app/styles/layouts/settings.css index ce33db384a..5f7f35209d 100644 --- a/ghost/admin/app/styles/layouts/settings.css +++ b/ghost/admin/app/styles/layouts/settings.css @@ -530,8 +530,8 @@ padding: 0; min-width: 250px; min-height: 300px; - max-width: 1180px; - width: 100%; + max-width: 1130px; + width: calc(100vw - 360px); height: auto; line-height: 22px; border: 1px solid var(--lightgrey); @@ -559,6 +559,12 @@ color: #000; } +@media (max-width: 800px) { + .settings-code-editor { + width: calc(100vw - 8vw - 40px); + } +} + /* Labs