.ct-icon-picker-value { display: flex; justify-content: flex-end; span { display: flex; align-items: center; justify-content: center; width: 26px; height: 26px; } svg { max-width: 20px; } } .ct-icon-picker-modal { // max-height: 300px; height: 400px; display: flex; flex-direction: column; padding: 20px; input[type="text"] { --height: 30px; // min-height: 30px; } > div { overflow: auto; margin-top: 10px; // max-height: calc(100% - 100px); } h2 { font-size: 13px; font-weight: 500; margin: 20px 0 10px 0; } ul { display: grid; grid-template-columns: repeat(6, 1fr); grid-column-gap: 5px; grid-row-gap: 5px; li { display: flex; align-items: center; justify-content: center; height: 45px; margin: 0; padding: 5px 5px; border-radius: 3px; box-sizing: border-box; cursor: pointer; &.active { color: #fff; background: var(--accentColor); } &:not(.active):hover { background: #f5f5f5; } svg { // height: 25px; max-width: 20px; fill: currentColor; } } } }