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

Fix darkfish responsiveness issue on screens between 1024px and ~1650px #1148

Merged
merged 3 commits into from
Aug 8, 2024

Conversation

st0012
Copy link
Member

@st0012 st0012 commented Aug 4, 2024

In that range, the sidebar would be displayed and cover part of the content. This PR fixes that by adding a left margin to the content when the screen size is greater than 1024px.

I also improved how the footer is displayed: instead of cutting the sidebar short to avoid covering it, we can increase the footer's z-index instead.

Before

Screenshot 2024-08-04 at 14 46 41

After

Screenshot 2024-08-04 at 14 46 53 Screenshot 2024-08-04 at 15 09 42

st0012 added 2 commits August 4, 2024 14:54
In that range, the sidebar would be displayed and cover part of the content.
This commit fixes that by adding a left margin to the content when the
screen size is greater than 1024px.
Currently, sidebar's height is reduced to avoid covering up the footer.
But this cuts the sidebar short even before the footer is reached.
Alternatively, we can achieve the same effect by increasing the footer's
z-index to make it appear on top of the sidebar.
@colby-swandale colby-swandale merged commit ac6f8ac into master Aug 8, 2024
51 checks passed
@colby-swandale colby-swandale deleted the adjust-darkfish-responsiveness branch August 8, 2024 06:19
st0012 added a commit to Shopify/ruby that referenced this pull request Aug 8, 2024
This syncs changes made in ruby/rdoc#1148, which
will fix https://docs.ruby-lang.org/en/master/'s display on certain screens.
k0kubun pushed a commit to ruby/ruby that referenced this pull request Aug 8, 2024
Sync rdoc

This syncs changes made in ruby/rdoc#1148, which
will fix https://docs.ruby-lang.org/en/master/'s display on certain screens.
@st0012 st0012 added this to the v6.8.0 milestone Oct 19, 2024
@st0012 st0012 added bug and removed generator labels Oct 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

3 participants