From 5b89bd08180da37cf5421fd1dff94d9ced2b355f Mon Sep 17 00:00:00 2001 From: James Morris Date: Fri, 5 Aug 2022 10:28:18 +0100 Subject: [PATCH] Changed the padding on the iFrame to work better with themes - There were left over paddings that were present with old design - Stripping back the paddings to have better placement in more themes without adjustment refs https://github.com/TryGhost/Team/issues/1747 --- apps/comments-ui/src/components/CommentsBox.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/apps/comments-ui/src/components/CommentsBox.js b/apps/comments-ui/src/components/CommentsBox.js index c32719760e..0867195ff8 100644 --- a/apps/comments-ui/src/components/CommentsBox.js +++ b/apps/comments-ui/src/components/CommentsBox.js @@ -129,9 +129,8 @@ const CommentsBox = (props) => { const containerClass = darkMode() ? 'dark' : ''; const style = { '--gh-accent-color': accentColor ?? 'blue', - // need careful padding adjustments to match iFrame negative margins and to not cut off top editing form - paddingTop: 8, - paddingBottom: 64 + paddingTop: 0, + paddingBottom: 24 // remember to allow for bottom shadow on comment text box }; return (