From 8a1d32746911e2d7f7e32add117e487de1097357 Mon Sep 17 00:00:00 2001 From: Ben Halpern Date: Sat, 14 Mar 2020 12:58:54 -0400 Subject: [PATCH] Fix editor jump (#6635) [deploy] --- app/assets/stylesheets/preact/article-form.scss | 13 +++++++------ app/views/articles/_v2_form.html.erb | 2 +- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/app/assets/stylesheets/preact/article-form.scss b/app/assets/stylesheets/preact/article-form.scss index bf9f65466..2b2b68c43 100644 --- a/app/assets/stylesheets/preact/article-form.scss +++ b/app/assets/stylesheets/preact/article-form.scss @@ -173,8 +173,8 @@ margin-bottom: 0px; margin-bottom: 1px; @media screen and (min-width: 600px) { - height: 32px; - margin-top: 2px; + height: 43px; + margin-bottom: 7px; } } } @@ -279,14 +279,15 @@ .articleform__tagsoptionrulesbutton { position: absolute; - right: 8px; - top: 9px; + right: 7px; + top: 7px; border: 0; border-radius: 3px; background: var(--theme-anchor-color, $sky-blue); color: var(--theme-container-background, white); - font-size: 0.8em; - width: 100px; + font-size: 0.77em; + width: 130px; + padding: 6px 0px; } .articleform__tagrules--inactive { diff --git a/app/views/articles/_v2_form.html.erb b/app/views/articles/_v2_form.html.erb index f06215bbd..ebb14e0e3 100644 --- a/app/views/articles/_v2_form.html.erb +++ b/app/views/articles/_v2_form.html.erb @@ -21,7 +21,7 @@
- +