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

frontend: set width for dropdowns in settings page #3154

Conversation

shonsirsha
Copy link
Collaborator

@shonsirsha shonsirsha commented Feb 4, 2025

Currently, the width of these dropdowns in the settings page
follow the content inside it, causing it to look inconsistent.

We unify their width to improve the UI.

Before:

pjxro

After:
razu4

.select :global(.react-select__option) {
padding: var(--space-half) var(--space-quarter);
}


@media (max-width: 768px) {
.select {
margin-top: var(--space-quarter);
margin-top: 12px;
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Increased the margin slightly on mobile (when collapsed / flex-col). Not related to width but since we're here anyway. :)

currently, the width of these dropdowns in the settings page
follow the content inside it, causing it to look inconsistent.

We unify their width to improve the UI.
@shonsirsha shonsirsha force-pushed the frontend-fix-width-settings-dropdowns branch from 9ef0a3a to 72b378f Compare February 4, 2025 10:31
Copy link
Collaborator

@thisconnect thisconnect left a comment

Choose a reason for hiding this comment

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

LGTM thank you

@shonsirsha shonsirsha merged commit ac23e5d into BitBoxSwiss:master Feb 5, 2025
9 checks passed
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