Skip to content

Commit 99798f4

Browse files
Merge pull request #561 from PermanentOrg/PER-10108-long-folder-names
2 parents 89e76ca + 446d390 commit 99798f4

File tree

3 files changed

+15
-12
lines changed

3 files changed

+15
-12
lines changed

src/app/core/components/main/main.component.scss

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
@import 'variables';
22

33
.main-content {
4-
padding-top: $navbar-total-height;
54
opacity: 1;
65

76
&.navigating {

src/app/core/components/nav/nav.component.scss

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
:host {
44
display: block;
5-
position: fixed;
65
top: 0;
76
left: 0;
87
right: 0;

src/app/shared/components/breadcrumbs/breadcrumbs.component.scss

+15-10
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,21 @@
66

77
.breadcrumbs {
88
width: 100%;
9-
overflow-y: hidden;
10-
overflow-x: auto;
11-
padding: 5px 10px;
12-
white-space: nowrap;
13-
-webkit-overflow-scrolling: touch;
14-
user-select: none;
15-
height: $breadcrumb-height;
169
display: flex;
17-
align-items: center;
10+
flex-wrap: wrap;
11+
white-space: normal;
12+
overflow: visible;
13+
min-width: 0;
1814
}
1915

2016
pr-breadcrumb {
21-
display: inline-block;
17+
display: flex;
18+
flex: 0 1 auto;
19+
min-width: 0; // ✅ allow shrinking in flex layout
2220
color: white;
21+
white-space: normal;
22+
word-break: break-word;
23+
overflow-wrap: anywhere;
2324

2425
@include after($tablet-horizontal) {
2526
padding: 0.25rem 0;
@@ -28,6 +29,11 @@ pr-breadcrumb {
2829
a {
2930
color: white;
3031
text-decoration: none;
32+
33+
display: inline;
34+
white-space: normal;
35+
word-break: break-word;
36+
overflow-wrap: anywhere;
3137
}
3238

3339
.current {
@@ -64,7 +70,6 @@ pr-breadcrumb {
6470
.breadcrumbs-large {
6571
@include desktop {
6672
font-size: $large-size;
67-
height: 2 * $grid-unit;
6873
}
6974
}
7075

0 commit comments

Comments
 (0)