Skip to content

Commit d95c1db

Browse files
Resize the "breadcrumbs" navigation section to fit the content, and stack it below the top navigation bar (#680)
* Resize the "breadcrumbs" navigation section * Drop spurious `nav` to reset breadcrumbs' z-index
1 parent 762065e commit d95c1db

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

assets/theme-css/navbar.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
nav,
21
.navbar {
32
background: var(--pst-color-background);
43
position: sticky;

assets/theme-css/pst/components/_breadcrumbs.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
/**
22
* Breadcrumbs for parent pages meant for the article header
33
*/
4+
nav[aria-label="Breadcrumb"] {
5+
width: fit-content;
6+
}
7+
48
ul.bd-breadcrumbs {
59
list-style: none;
610
padding-left: 0;

0 commit comments

Comments
 (0)