/
githubmirror
/
gutenberg
Обзор
Документация
Войти
/
githubmirror
/
gutenberg
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
trunk
packages/block-library/src/pullquote/editor.scss
23 строки
635 B
Jorge Costa
Fix: Pullquote custom line height in the editor. (#80586)
23 июл 2026, 13:43
Не верифицирован
23 июл 2026, 13:43
b74670e
Код
Авторство
О чём код?
// .is-style-solid-color is deprecated. // This selector has not been scoped with `:root :where`, as global styles // does, to keep its specificity as it was at the time of deprecation. .wp-block-pullquote.is-style-solid-color { & blockquote p { font-size: 32px; } .wp-block-pullquote__citation { text-transform: none; font-style: normal; } } .wp-block-pullquote__citation { color: inherit; } // Ensure custom line-height values applied to the block are inherited by the // paragraph instead of being overridden by the default editor styles. .wp-block-pullquote[style*="line-height"] :where(p) { line-height: inherit; }