From aaf68a8f73cf52b1256e3ba879cc00bbcdcf251d Mon Sep 17 00:00:00 2001 From: Vardan Hakobyan Date: Thu, 14 Jul 2022 11:06:06 +0400 Subject: [PATCH] fix(web): prevent jumping the page contents on mobile when editing notes offline (#1294) --- packages/web/src/stylesheets/_editor.scss | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/web/src/stylesheets/_editor.scss b/packages/web/src/stylesheets/_editor.scss index 151bf2fd5..7b36d7fcb 100644 --- a/packages/web/src/stylesheets/_editor.scss +++ b/packages/web/src/stylesheets/_editor.scss @@ -56,6 +56,7 @@ $heading-height: 75px; &:disabled { color: var(--editor-title-input-color); } + &:focus { box-shadow: none; } @@ -65,9 +66,12 @@ $heading-height: 75px; #save-status-container { position: relative; min-width: 16ch; - max-width: 16ch; overflow: visible; margin-right: 20px; + + @media screen and (min-width: 768px) { + max-width: 16ch; + } } #save-status {