Skip to content

Commit 8bf374a

Browse files
Merge pull request #4059 from Gouttfi/master
Fixing too long filter value cause visual overflow Closes #4058
2 parents 7912ed2 + 8d2724e commit 8bf374a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/components/input/FilterBar.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -148,12 +148,12 @@ const FilterItem = ({ name, label, operator, value, onRemove }) => {
148148
theme="dark"
149149
>
150150
<Row alignItems="center" gap="4">
151-
<Row alignItems="center" gap="2">
152-
<Text color="primary" weight="bold">
151+
<Row alignItems="center" gap="2" maxWidth={'500px'}>
152+
<Text color="12" weight="bold">
153153
{label}
154154
</Text>
155-
<Text color="muted">{operator}</Text>
156-
<Text color="primary" weight="bold">
155+
<Text color="11">{operator}</Text>
156+
<Text color="12" weight="bold" style={{ overflow: 'hidden', textOverflow: 'ellipsis', whiteSpace: 'nowrap' }}>
157157
{value}
158158
</Text>
159159
</Row>

0 commit comments

Comments
 (0)