Skip to content
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

Mobile Deprecation version section is too long #1240

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

arafatiqbal
Copy link
Contributor

@arafatiqbal arafatiqbal commented Dec 12, 2022

#1239

Before:
Screen Shot 2022-12-11 at 7 34 30 PM

After:
Screen Shot 2022-12-11 at 7 34 54 PM

There is now less empty space on the right side, and the proportions just look a bit better.

@netlify
Copy link

netlify bot commented Dec 12, 2022

Deploy Preview for ember-deprecations ready!

Name Link
🔨 Latest commit 225e1da
🔍 Latest deploy log https://app.netlify.com/sites/ember-deprecations/deploys/6396a0ce8b0c41000833eab9
😎 Deploy Preview https://deploy-preview-1240--ember-deprecations.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@@ -581,7 +581,7 @@ p a:hover {
width: 100%;

.ember-version-graphic {
$height: 132px;
$height: 161px;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This makes the ember-version-graphic a tad bit larger, so 3 version numbers could fit per column. I also think it looks a bit better with it larger

Copy link
Contributor

@jenweber jenweber left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like your design! It fixes what looks like a visual bug. I think the HTML markup needs some fixes before this can be merged, to ensure that our HTML is valid and accessible. Let me know if you have any questions or want help. Thank you for your work on this!

@@ -36,18 +36,24 @@
<li class="item list-unstyled">
<EmberVersionGraphic @mascot="ember" />
<ul class="links">
<li class="list-unstyled" data-test-ember-1-link>
<div class="row">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that a ul must have li as direct children, without divs in between, based on the "Permitted content" section of the ul docs: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ul#technical_summary

One way to achieve this layout without the divs, while still keeping this one continuous list, is something like https://codepen.io/srikarg/pen/kxwQXV

There are lots of options for how to write this CSS. Another example is with flexbox: https://stackoverflow.com/questions/42613350/how-can-i-create-multi-columns-from-a-single-unordered-list

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Got it thanks! I'll push up a few commits to address this when I get a chance

@arafatiqbal arafatiqbal changed the title Fix the issue Mobile Deprecation version section is too long Jan 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants