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:
parent
b3a71d8c94
commit
5b89bd0818
1 changed files with 2 additions and 3 deletions
|
@ -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 (
|
||||
|
|
Loading…
Add table
Reference in a new issue