0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-11 02:12:21 -05:00

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
This commit is contained in:
James Morris 2022-08-05 10:28:18 +01:00
parent b3a71d8c94
commit 5b89bd0818

View file

@ -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 (