-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
No padding around LivePreview #1325
Comments
Thanks @baldarian for catching and reporting this ! It will be fixed in the next official release, meanwhile you can try it ( |
@rakannimer Good to hear. Thanks. |
still dont't work |
Confirmed that UPDATE: @rakannimer While that issue is fixed, it seems that Headings now bump right up next to the Playgrounds? |
Temporory workaround Add following CSS in your styles somwhere
|
I think the most consistent option would be to replace - <LivePreview style={styles.preview} data-testid="live-preview" />
+ <LivePreview sx={styles.preview} data-testid="live-preview" /> This solved the rendering issues in my case. |
Yeah, looks like I think some bottom margin on Playground is the superior style. (just noticed #1396 – lol)
➕ |
This is a temporary patch // src/gatsby-theme-docz/src/components/Playground/styles.js
export * from 'gatsby-theme-docz/src/components/Playground/styles'
export const preview = {
margin: 0,
padding: '20px'
} |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Not stale
…On Sun, May 24, 2020 at 6:56 PM stale[bot] ***@***.***> wrote:
This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. Thank you
for your contributions.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#1325 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABPSRPTSQGWXBOOJRY7SFLRTHF6TANCNFSM4J3FDA3Q>
.
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
not stale
…On Fri, Jul 24, 2020 at 12:04 AM stale[bot] ***@***.***> wrote:
This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. Thank you
for your contributions.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#1325 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABPSROPP7HA4AKB4YVOBCDR5EW7BANCNFSM4J3FDA3Q>
.
|
🤦♀️ |
Bug Report
Describe the bug
There's no padding around LivePreview. Have a look at the screenshot attached below.
I found out that style object that are being passed to the
LivePreview
are having wrong properties. I made a screenshot for this too.Environment
Additional context/Screenshots
The text was updated successfully, but these errors were encountered: