.ast-typo-presets { width: 100%; display: flex; align-items: center; flex-wrap: wrap; row-gap: 8px; column-gap: 8px; justify-content: space-between; } .ast-typo-presets .ast-typo-preset-item { padding: 0; border-radius: 3px; cursor: pointer; border: 1px solid var(--ast-customizer-color-7); height: 64px; text-align: center; width: 47.5%; } .ast-typo-presets .ast-typo-preset-item:hover{ border: 1px solid var(--ast-customizer-color-1); } .ast-typo-presets .ast-typo-preset-item svg { transform: scale(1); width: 100%; height: 100%; padding: 0; margin: 0px; } .ast-typo-presets .ast-typo-preset-item.active { border: 1px solid var(--ast-customizer-color-1); background: var(--ast-customizer-color-9); } .customize-control-ast-typography-presets .ast-reset-btn-preset-wrap { top: -5px; } .ast-typo-preset-item .components-tooltip { margin-top: -8px; } .ast-typo-preset-item .components-tooltip::before { border-bottom: none!important; border-left-color: transparent!important; border-right-color: transparent!important; border-top-style: solid!important; border-top-color: #1e1e1e!important; margin-left: -10px; bottom: -8px; content: ""; position: absolute; height: 0; width: 0; line-height: 0; border: 8px solid #ccc; } .ast-typo-preset-item .components-tooltip::after { border-bottom: none!important; border-left-color: transparent!important; border-right-color: transparent!important; border-top-style: solid!important; border-top-color: #1e1e1e!important; margin-left: -10px; bottom: -6px; content: ""; position: absolute; height: 0; width: 0; line-height: 0; border: 8px solid #fff; }