Skip to content

Commit

Permalink
fix: (attempt) Style dropdown changing to wider width on focus
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisgurney committed Oct 30, 2024
1 parent a48d05f commit e136a96
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -1461,6 +1461,10 @@ input[type="text"].note-toolbar-setting-error {
border-radius: 2em;
font-size: var(--metadata-input-font-size);
max-width: 8em;
width: 100%;
}
& select[class="dropdown"]:focus {
max-width: 8em;
}
}
}
Expand Down
4 changes: 4 additions & 0 deletions styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -2266,6 +2266,10 @@ input[type="text"].note-toolbar-setting-error {
border-radius: 2em;
font-size: var(--metadata-input-font-size);
max-width: 8em;
width: 100%;
}
& select[class="dropdown"]:focus {
max-width: 8em;
}
}
}
Expand Down

0 comments on commit e136a96

Please sign in to comment.