@tolokoban/ui
Version:
React components with theme
41 lines (37 loc) • 800 B
CSS
.InputMultiText {
display: grid;
gap: 1px;
place-items: stretch;
grid-template-columns: 1fr auto;
box-shadow: var(--theme-shadow-1);
margin: 2px;
}
.InputMultiText > input {
border: none;
height: 2em;
line-height: 2em;
padding: 0 0.5em;
background-color: var(--theme-color-input);
color: var(--theme-color-on-input);
}
.InputMultiText > div {
display: flex;
flex-wrap: wrap;
justify-content: space-around;
align-items: stretch;
overflow: hidden;
gap: 1px;
}
.InputMultiText > div > button {
all: inherit;
text-transform: uppercase;
flex: 1 1 auto;
width: 2em;
cursor: pointer;
display: grid;
place-items: center;
position: relative;
padding: 0;
margin: 0;
border-radius: 0.25em;
}