From ab9a011f8900aeb9f9de16cc5ddfd12cfb8b171d Mon Sep 17 00:00:00 2001 From: Sumanth V Rao Date: Fri, 28 Aug 2020 19:19:24 +0530 Subject: [PATCH] css: Modify button styling to adjust for svg size change. This builds on the previous commit and adds final touches to both the button positioning and style. --- static/styles/rendered_markdown.css | 4 ++-- static/styles/zulip.css | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/static/styles/rendered_markdown.css b/static/styles/rendered_markdown.css index 9379b235c0..5e92c3adf7 100644 --- a/static/styles/rendered_markdown.css +++ b/static/styles/rendered_markdown.css @@ -462,7 +462,7 @@ /* Having absolute positioning here ensures that the element doesn't scroll along with the code div in narrow windows */ position: absolute; - right: 0; + right: 2px; margin-top: -6px; } @@ -471,7 +471,7 @@ position: absolute; right: 23px; margin-top: -2px; - font-size: 1.2em; + font-size: 1.4em; /* The default icon and on-hover colors are inherited from tag. so we set our own to match the copy-to-clipbord icon */ color: hsl(0, 0%, 47%); diff --git a/static/styles/zulip.css b/static/styles/zulip.css index 0388c16d65..998d076340 100644 --- a/static/styles/zulip.css +++ b/static/styles/zulip.css @@ -453,8 +453,8 @@ li, .copy_message { position: relative; - top: 28px; - left: -5px; + top: 27px; + left: -10px; margin-top: -24px; }