Fix fonts in multiselect

This commit is contained in:
Maxime Lalo 2023-04-19 12:07:27 +02:00
parent 115ae1beac
commit a4b2154128
4 changed files with 13 additions and 4 deletions

View File

@ -44,7 +44,7 @@
> div { > div {
width: 100%; width: 100%;
> div > div { > div:first-of-type > div:first-of-type {
padding: 24px; padding: 24px;
} }
} }
@ -53,7 +53,7 @@
&.active { &.active {
.input-container { .input-container {
> div > div > div { > div > div > div {
padding: 16px 24px; padding: 24px 16px 16px 16px !important;
} }
} }
} }

View File

@ -66,6 +66,7 @@ export default class MultiSelect extends React.Component<IProps, IState> {
noOptionsMessage={this.onEmptyResearch} noOptionsMessage={this.onEmptyResearch}
onFocus={this.onFocus} onFocus={this.onFocus}
onBlur={this.onBlur} onBlur={this.onBlur}
classNamePrefix="react-select"
/> />
</div> </div>
</div> </div>

View File

@ -128,8 +128,6 @@ export default class CreateFolder extends BasePage<IProps, IState> {
); );
} }
public override async componentDidMount() {}
private onFolderNumberChange(e: React.ChangeEvent<HTMLInputElement>) { private onFolderNumberChange(e: React.ChangeEvent<HTMLInputElement>) {
this.setState({ this.setState({
formValues: { formValues: {

View File

@ -40,3 +40,13 @@ a:visited {
a:hover { a:hover {
opacity: 0.9; opacity: 0.9;
} }
.react-select__input-container {
color: black !important;
font-weight: normal !important;
}
.react-select__menu-notice {
font-size: 18px;
font-family: Inter;
}