-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
frontend: set width for dropdowns in settings page
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.
- Loading branch information
1 parent
16a748c
commit 9ef0a3a
Showing
2 changed files
with
3 additions
and
2 deletions.
There are no files selected for viewing
3 changes: 1 addition & 2 deletions
3
frontends/web/src/routes/settings/components/appearance/settingsdropdown.module.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,14 @@ | ||
.select { | ||
width: 280px; | ||
} | ||
|
||
.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; | ||
width: 100%; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters