fix(docs-infra): fix styling of embedded Table-of-Contents (#34312)
This commit fixes the following issues: - Align text content with caret icon in embedded ToC header. - Fix display of expand/collapse button at the bottom of embeded ToC. These were accidentally broken in #32124, while fixing another ToC-related issue. Some CSS rules in `_toc.scss` (e.g. those for `.mat-icon` and `ul.toc-list`) were correctly moved out of the `.toc-inner > button` block, but others (e.g. `&.toc-heading` and `&.toc-more-items`) should not have been moved outside the `.toc-inner > button` block. _Before:_  _After:_  Closes #34300 PR Close #34312
This commit is contained in:
parent
f95e2c7e7e
commit
419b153b17
@ -50,7 +50,6 @@
|
||||
background: $lightgray;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&.toc-heading {
|
||||
mat-icon.rotating-icon {
|
||||
@ -83,6 +82,7 @@
|
||||
content: 'more_horiz';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.mat-icon {
|
||||
&.collapsed {
|
||||
|
Loading…
x
Reference in New Issue
Block a user