react-input-chips
Version:
A package with minimum dependencies and maximum customization.
43 lines • 817 B
CSS
/* src/components/styles.css */
.chip-input-warpper {
gap: 4px;
flex: 2;
padding: 5px;
overflow: auto;
display: flex;
flex-wrap: wrap;
align-items: center;
transform: scale(1);
border: 1px solid #BBBBBB;
border-radius: 4px;
.chip {
background: #f8e3e3;
border-radius: 4px;
color: #333333;
display: flex;
gap: 0.5rem;
align-items: center;
justify-content: space-between;
max-width: max-content;
padding: 6px;
}
.chip-input {
border: none;
outline: none;
flex: 1;
padding: 0 8px;
height: 30px;
}
.closeBtn {
outline: none;
border: none;
background: none;
height: 18px;
width: 18px;
object-fit: cover;
cursor: pointer;
display: grid;
place-items: center;
}
}
/*# sourceMappingURL=index.css.map */