1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-04-18 21:35:51 -04:00

Fix tags height in tag inputs

And other relevant changes missing from #4715
This commit is contained in:
Bogdan
2024-08-06 08:16:35 +03:00
committed by Qstick
parent 6f306a22e5
commit 6eeed96d12
4 changed files with 15 additions and 7 deletions
@@ -12,6 +12,14 @@
} }
} }
.hasError {
composes: hasError from '~Components/Form/Input.css';
}
.hasWarning {
composes: hasWarning from '~Components/Form/Input.css';
}
.internalInput { .internalInput {
flex: 1 1 0%; flex: 1 1 0%;
margin-left: 3px; margin-left: 3px;
+2
View File
@@ -1,6 +1,8 @@
// This file is automatically generated. // This file is automatically generated.
// Please do not change this file! // Please do not change this file!
interface CssExports { interface CssExports {
'hasError': string;
'hasWarning': string;
'input': string; 'input': string;
'internalInput': string; 'internalInput': string;
'isFocused': string; 'isFocused': string;
+5 -1
View File
@@ -225,6 +225,8 @@ class TagInput extends Component {
const { const {
className, className,
inputContainerClassName, inputContainerClassName,
hasError,
hasWarning,
...otherProps ...otherProps
} = this.props; } = this.props;
@@ -241,7 +243,9 @@ class TagInput extends Component {
className={className} className={className}
inputContainerClassName={classNames( inputContainerClassName={classNames(
inputContainerClassName, inputContainerClassName,
isFocused && styles.isFocused isFocused && styles.isFocused,
hasError && styles.hasError,
hasWarning && styles.hasWarning
)} )}
value={value} value={value}
suggestions={suggestions} suggestions={suggestions}
@@ -7,17 +7,11 @@
} }
.link { .link {
composes: link from '~Components/Link/Link.css';
max-width: 100%; max-width: 100%;
line-height: 1px;
} }
.linkWithEdit { .linkWithEdit {
composes: link from '~Components/Link/Link.css';
max-width: calc(100% - 9px - 4px - 2px); max-width: calc(100% - 9px - 4px - 2px);
line-height: 1px;
} }
.editContainer { .editContainer {