mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-07 20:17:05 +03:00
Fix styling of empty category name suggestions menu
This commit is contained in:
@@ -28,6 +28,7 @@ class SelectorComponent extends React.Component<SelectorProps, SelectorState> {
|
|||||||
render(): React.ReactElement {
|
render(): React.ReactElement {
|
||||||
return (
|
return (
|
||||||
<div id={this.props.id}
|
<div id={this.props.id}
|
||||||
|
style={{display: this.props.options.length > 0 ? "inherit" : "none"}}
|
||||||
className="sbSelector">
|
className="sbSelector">
|
||||||
<div className="sbSelectorBackground">
|
<div className="sbSelectorBackground">
|
||||||
{this.getOptions()}
|
{this.getOptions()}
|
||||||
|
|||||||
Reference in New Issue
Block a user