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

Correction from an absolute value to a relative value for wide screens. #17232

Closed
wants to merge 1 commit into from

Conversation

Dedelweiss
Copy link
Contributor

@Dedelweiss Dedelweiss commented Apr 11, 2023

In this PR, I have the absolute value in relative value, which allows the content to better adapt to screen sizes.
I didn't think it was necessary to add a media query to change the absolute value only at a certain screen size but I can do it if needed.

Before

2000px width

Screenshot 2023-04-11 at 16 16 06

3000px width

Screenshot 2023-04-11 at 16 16 15

After

2000px width

Screenshot 2023-04-11 at 16 17 53

3000px width

Screenshot 2023-04-11 at 16 17 36

Fixes: #17217

@Florian3k
Copy link
Contributor

Issue #17217 (main content suddenly getting too narrow at 1921px) seems to be fixed on latest main.

As for the changes to the max-width, a 1920px it looks like this:
before
And at 1921px:
after
(a lot of space on the left side, very little on the right)

If you feel up to it you can try to fix it, but with #17217 fixed I don't think it's that important.

@Florian3k Florian3k assigned Dedelweiss and unassigned Florian3k May 4, 2023
@Dedelweiss
Copy link
Contributor Author

Okay perfect so, I can close it, thank you @Florian3k

@Dedelweiss Dedelweiss closed this May 4, 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.

Scala3doc is too narrow on wider screens
2 participants