Fixed: tag input alignment and height
Co-Authored-By: Mark McDowall <markus101@users.noreply.github.com>
This commit is contained in:
@@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
.input {
|
.input {
|
||||||
composes: input from '~./AutoSuggestInput.css';
|
composes: input from '~./AutoSuggestInput.css';
|
||||||
|
|
||||||
@@ -19,6 +18,6 @@
|
|||||||
min-width: 20%;
|
min-width: 20%;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
width: 0%;
|
width: 0%;
|
||||||
height: 21px;
|
height: 31px;
|
||||||
border: none;
|
border: none;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,7 +4,9 @@
|
|||||||
bottom: -1px;
|
bottom: -1px;
|
||||||
left: -1px;
|
left: -1px;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
align-items: start;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
padding: 6px 16px;
|
padding: 1px 16px;
|
||||||
|
min-height: 33px;
|
||||||
cursor: default;
|
cursor: default;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,5 @@
|
|||||||
|
.tag {
|
||||||
|
composes: link from '~Components/Link/Link.css';
|
||||||
|
|
||||||
|
height: 31px;
|
||||||
|
}
|
||||||
@@ -4,6 +4,7 @@ import { kinds } from 'Helpers/Props';
|
|||||||
import tagShape from 'Helpers/Props/Shapes/tagShape';
|
import tagShape from 'Helpers/Props/Shapes/tagShape';
|
||||||
import Label from 'Components/Label';
|
import Label from 'Components/Label';
|
||||||
import Link from 'Components/Link/Link';
|
import Link from 'Components/Link/Link';
|
||||||
|
import styles from './TagInputTag.css';
|
||||||
|
|
||||||
class TagInputTag extends Component {
|
class TagInputTag extends Component {
|
||||||
|
|
||||||
@@ -31,9 +32,9 @@ class TagInputTag extends Component {
|
|||||||
tag,
|
tag,
|
||||||
kind
|
kind
|
||||||
} = this.props;
|
} = this.props;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Link
|
<Link
|
||||||
|
className={styles.tag}
|
||||||
tabIndex={-1}
|
tabIndex={-1}
|
||||||
onPress={this.onDelete}
|
onPress={this.onDelete}
|
||||||
>
|
>
|
||||||
|
|||||||
Reference in New Issue
Block a user