Skip to content

Partial revert change and improve responsive layout #1188

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

Merged
merged 1 commit into from
Jul 13, 2020

Conversation

Fasani
Copy link
Contributor

@Fasani Fasani commented Jul 12, 2020

@XAMPPRocky Hey, I noticed my earlier commit (11 days ago) had side effects on larger screens, buttons were no longer visible, I have reverted it and wrapped the buttons in an additional div/class (see additional comment).

Demo:
https://www.loom.com/share/cf6966b43e844258b04459df22ff5b81

@Fasani Fasani requested a review from a team as a code owner July 12, 2020 21:05
@@ -82,6 +82,29 @@
</ul>
</div>
</div>
<div class="dn db-l">
Copy link
Contributor Author

Choose a reason for hiding this comment

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

The original code prior to 11 days ago had .dn-m on line 86 the problem is that that the flex class overrides that .dn-m for specificity reasons. So it needs to sit higher in its own container.

So the rule on line 85 now says display: none and display:block on large screen.

@Fasani Fasani mentioned this pull request Jul 12, 2020
@XAMPPRocky
Copy link
Member

Thank you for your PR!

@XAMPPRocky XAMPPRocky merged commit a0e20d8 into rust-lang:master Jul 13, 2020
@Fasani Fasani deleted the fix-1167-buttons-isses branch July 13, 2020 08:13
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.

2 participants