/
githubmirror
/
gutenberg
Обзор
Документация
Войти
/
githubmirror
/
gutenberg
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
trunk
packages/ui/src/form/primitives/textarea/style.module.css
24 строки
493 B
Shreya Shrivastava
Components, DataViews: Adopt --wpds-dimension-size-* tokens (#79093)
16 июн 2026, 18:09
Не верифицирован
16 июн 2026, 18:09
8ff27f2
Код
Авторство
О чём код?
@layer wp-ui { @layer utilities, components, compositions, overrides; @layer components { .wrapper { --wp-ui-textarea-min-height: var(--wpds-dimension-size-lg); } .textarea { /* Prevents users from resizing the textarea below this height. */ min-height: calc(var(--wp-ui-textarea-min-height) - 2px); resize: block; } } @layer compositions { .wrapper { --wp-ui-input-padding-block: 9.9px; height: auto; line-height: 1.4; /* TODO: Use variable */ } } }