-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
spacing on splash page #1576
spacing on splash page #1576
Conversation
extends PR #980: I'm sure this is already known but the bug is happening because the left side is having its title put in a `p` tag whereas the right side is right _before_ its equivalent `p` tag :(. This seems to resolve the issue for now but the markup should be parsed properly.
@rouzbeh84 does this resolve #1559? |
It does but I didn’t know if #980 was also doing other things so didn’t wanna close it out automatically. 👍🏽 |
@rouzbeh84 tested this out with I think the issue is that specificity is broken between development and production builds. Looking into a more stable fix now. |
To this point, yeah this is definitely one of many indications that our markdown utility has problems. This is one thing we definitely need to address in infrastructure work from #1525. Luckily, that's one thing we actually have an agree upon plan for (webpack-contrib/webpack-defaults#73). Now the trick is just finding the time to make that move. |
I'm actually seeing some bigger discrepancies between dev and prod with markdown parsing which is odd because it should be going through the exact same process each time: dev prod I know it's a little hard to tell but the |
Move `homepage.scss` styles to `splash.scss` and update class names for consistency. Add the small `margin-bottom` hack to fix the spacing issue in production.
Ok added a hacky fix that isn't pretty but works: As for a plan going forward, I think we should do this:
And on the last point, maybe we can put the move to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
they look good to me. quite an imaginative fix but it is what it is 😜 . i know you cc'd a couple other folks so i'll let them approve.
Haha yeah, I just really don't feel like debugging the If somebody has a better idea, I'm all ears but I'd rather just fix this, push the last few open content tickets forward and then start digging into the root of these problems, starting with the port from
Just cc'd them more for a heads up on the plan part of it. Once this passes I'll "Squash & Merge" but if you or anyone else comes up with a cleaner fix I'd be happy to revert. |
@skipjack Ah i think my comment didn't get posted proper. Thought I mentioned a dev named @jescalan who demo'd this is otherwise good to go then, approving now.
|
@rouzbeh84 remark is connected to |
extends PR #980:
I'm sure this is already known but the bug is happening because the left side is having its title put in a
p
tag whereas the right side is right before its equivalentp
tag :(. This seems to resolve the issue for now but the markup should be parsed properly.