mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-28 09:05:50 +08:00
We need to allow the breadcrumbs to wrap properly, to account for deep navigation layers on mobile | BC | AC | |--------|--------| | <img width="668" height="842" alt="CleanShot 2025-09-26 at 08 17 42@2x" src="https://github.com/user-attachments/assets/e38400eb-b8a2-48f2-be69-089ad392d144" /> | <img width="668" height="842" alt="CleanShot 2025-09-26 at 08 17 59@2x" src="https://github.com/user-attachments/assets/b061f82a-433a-409e-903e-90b2fde35a39" /> |
32 lines
479 B
SCSS
Vendored
32 lines
479 B
SCSS
Vendored
.d-breadcrumbs {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
margin: var(--space-2) 0 var(--space-4) 0;
|
|
|
|
&__item {
|
|
list-style-type: none;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
&__link,
|
|
&__link:visited {
|
|
color: var(--primary-medium);
|
|
}
|
|
|
|
li {
|
|
.separator {
|
|
margin-right: var(--space-1);
|
|
|
|
.d-icon {
|
|
color: var(--primary-medium);
|
|
font-size: var(--font-down-1);
|
|
}
|
|
}
|
|
}
|
|
|
|
li:last-child {
|
|
.separator {
|
|
display: none;
|
|
}
|
|
}
|
|
}
|