Skip to content

Commit

Permalink
rename modifier
Browse files Browse the repository at this point in the history
  • Loading branch information
venix12 committed Dec 11, 2023
1 parent fc5b845 commit 6a48ff5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions resources/css/bem/select-options.less
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@
--selector-max-height: auto;
--selector-overflow-y: auto;

&--basic {
--selector-max-height: 400px; // arbitrary
--selector-overflow-y: scroll;
}

&--beatmap-discussions-user-filter {
--decoration-colour: hsl(var(--hsl-c1));

Expand All @@ -36,11 +41,6 @@
--selector-display: block;
}

&--spotlight {
--selector-max-height: 400px; // arbitrary
--selector-overflow-y: scroll;
}

&__decoration {
margin-left: 10px;
color: var(--decoration-colour);
Expand Down
2 changes: 1 addition & 1 deletion resources/js/components/basic-select-options.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export default class BasicSelectOptions extends React.PureComponent<Props> {
render() {
return (
<SelectOptions
modifiers='spotlight'
modifiers='basic'
onChange={this.handleChange}
options={this.props.items}
renderOption={this.renderOption}
Expand Down

0 comments on commit 6a48ff5

Please sign in to comment.