discourse/app/assets/stylesheets/common/components/d-breadcrumbs.scss
chapoi 49ed4be80b
UX: prevent icon and text wrapping in breadcrumb (#35008)
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"
/> |
2025-09-26 10:16:51 -06:00

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;
}
}
}