/
githubmirror
/
gutenberg
Обзор
Документация
Войти
/
githubmirror
/
gutenberg
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
trunk
packages/components/src/flex/style.module.scss
40 строк
570 B
Marco Ciampini
Components: migrate Flex to SCSS module (#79450)
06 июл 2026, 20:05
Не верифицирован
06 июл 2026, 20:05
45ec4b1
Код
Авторство
О чём код?
.flex { align-items: var(--wp-components-flex-align); display: flex; flex-direction: var(--wp-components-flex-direction); flex-wrap: var(--wp-components-flex-wrap); gap: var(--wp-components-flex-gap); justify-content: var(--wp-components-flex-justify); } .expanded-column { height: 100%; } .expanded-row { width: 100%; } .item { display: var(--wp-components-flex-item-display); max-height: 100%; max-width: 100%; min-height: 0; min-width: 0; } .block { flex: 1; } .items-column { > * { min-height: 0; } } .items-row { > * { min-width: 0; } }