-
-
Notifications
You must be signed in to change notification settings - Fork 6.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
Website: Wrong Margin
for the BlockImage
#5299
Comments
You're right. Happy to review the PR fixing these! |
Should it be here: https://github.com/facebook/Docusaurus/blob/2e1795319944f5e29297281083981eebd1726041/lib/static/css/main.css#L795-L799 Or in our custom css? |
Ideally we could fix this upstream, yea |
Oh? It fixes the video, but maybe your fix is a more generic one? (happy to reopen) |
Emm..It fixes the video, but doesn't fix the problem where when image is aligned right, there is no corresponding margin added in between the text and the image. See below: Anyway, I think it's an issue related to the upstream repo, docusaurus. A PR is here concerning that issue: facebook/docusaurus#398 (comment) Maybe have these two combined. 😄 |
Ah, OK. Let's keep this open then, we might be able to drop a bit of the custom CSS whenever it's released upstream. |
Reopening until we upgrade and potentially remove some of the css added in #5321. |
Hi @SimenB! I will announce on the @Docusaurus twitter feed when 1.0.6 goes out. I might release that in the next week or so, depending on the amount of fixes we have. |
I could then do the customized CSS changes @SimenB mentioned 👍 |
@SimenB Docusaurus 1.0.6 went out earlier this week, with this fix in it. |
@JoelMarcey we've just upgraded 😄 Thank you! |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Do you want to request a feature or report a bug?
bug
What is the current behavior?
In the jest website:
Whenever the text is on the right side of the block image, it gets the correct
margin
in between.(margin-right
):But it seems that the
block-image
component is only getting amargin-right
. So when the text is on the left side, the margin is of no use (tho it seems not that obvious to the users):But this one is obvious:
where there is no margin in between.
I'm happy to take the issue and fix this once it is recognized. 😄
The text was updated successfully, but these errors were encountered: