Skip to content

Commit bb8f306

Browse files
committed
fix(ChipInputBase): Pay respect to margins with max-width calculation
1 parent 04977f9 commit bb8f306

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/components/ChipsInputBase/ChipsInputBase.css

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,15 @@
1111
}
1212

1313
.ChipsInputBase__chip {
14-
max-width: 100%;
14+
max-width: calc(100% - 4px);
1515
margin: 2px;
1616
}
1717

1818
.ChipsInputBase__label {
1919
display: flex;
2020
flex-direction: column;
2121
flex: 1;
22-
margin: 2px;
23-
margin-left: 10px;
22+
margin: 2px 2px 2px 10px;
2423
}
2524

2625
.ChipsInputBase__el {

0 commit comments

Comments
 (0)