/
githubmirror
/
gutenberg
Обзор
Документация
Войти
/
githubmirror
/
gutenberg
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
trunk
packages/ui/src/icon-button/style.module.css
18 строк
448 B
Andrew Duthie
Fix and permit unitless zeros used in CSS `calc` functions (#79786)
02 июл 2026, 00:06
Не верифицирован
02 июл 2026, 00:06
e412445
Код
Авторство
О чём код?
@layer wp-ui { @layer utilities, components, compositions, overrides; @layer compositions { .icon-button { --wp-ui-button-aspect-ratio: 1; --wp-ui-button-padding-inline: 0px; --wp-ui-button-min-width: unset; } .icon { /* Compensate for the button's 1px border so the icon extends edge-to-edge and doesn't inflate the button's dimensions (e.g. 24px icon inside a 24px-tall small button). */ margin: -1px; } } }