/
githubmirror
/
components
Обзор
Документация
Войти
/
githubmirror
/
components
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/components-examples/material/tree/tree-nested-overview/tree-nested-overview-example.css
26 строк
502 B
Kristiyan Kostadinov
docs(material/tree): fixed mixed node types
12 ноя 2024, 19:11
12 ноя 2024, 19:11
1d5a6a2
Код
Авторство
О чём код?
.example-tree-invisible { display: none; } .example-tree ul, .example-tree li { margin-top: 0; margin-bottom: 0; list-style-type: none; } /* * This padding sets alignment of the nested nodes. */ .example-tree .mat-nested-tree-node div[role=group] { padding-left: 40px; } /* * Padding for leaf nodes. * Leaf nodes need to have padding so as to align with other non-leaf nodes * under the same parent. */ .example-tree div[role=group] > .mat-nested-tree-node { padding-left: 40px; }