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

CSS fix for Preferences Dialog #2104

Conversation

RounakJoshi09
Copy link

@RounakJoshi09 RounakJoshi09 commented Nov 10, 2024

This is added in order let the elements fill the space in the widget span row, this is indeed necessary here, because , the width is available in the dialog, but the elements are aligned to the start, and not utilizing the width properly, in order to fix this in a responsive way, I have added the justify-content css property, which uses the width available for the WidgetSpan.

Fixes #2103

Screen shots after the fix
image
image

This is added in order let the elements fill the space in the widget span row, this is indeed necessary here, because , the width is available in the dialog, but the elements are aligned to the start.
@0HyperCube
Copy link
Member

Resolved by 99cf8f0.

@0HyperCube 0HyperCube closed this Nov 16, 2024
@Keavon
Copy link
Member

Keavon commented Nov 16, 2024

@RounakJoshi09 Just to chime in about why I didn't merge this PR, unfortunately your proposed CSS change would have a large impact on many parts of the UI beyond just the misaligned settings dialog content. But I'm also going to quickly check if it would have made desirable improvements or if it broke things (just by looking at the code, I'm having to assume the latter is more likely, but I'll check by triggering a build real quick).

@Keavon
Copy link
Member

Keavon commented Nov 16, 2024

!build

Copy link

📦 Build Complete for a534bb8
https://08bb7d0e.graphite.pages.dev

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.

Editor preferences has checkboxes overlapping their labels
3 participants