-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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: