Skip to content

Commit 33422a5

Browse files
committed
Fix styling
* Fix header coloring * Make component work on mobile devices and not getting completely cut off
1 parent aba59d2 commit 33422a5

File tree

1 file changed

+3
-2
lines changed
  • vaadin-breadcrumbs/src/main/resources/META-INF/resources/frontend/styles

1 file changed

+3
-2
lines changed

vaadin-breadcrumbs/src/main/resources/META-INF/resources/frontend/styles/breadcrumb.css

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
.breadcrumbs-container {
22
display: flex;
3-
flex-shrink: 0;
43
position: relative;
54
padding-right: calc(var(--lumo-space-m) * 1.6);
65
}
76

87
.breadcrumbs-container > vaadin-horizontal-layout {
98
box-shadow: calc(var(--lumo-space-s) * 0.8) 0 calc(var(--lumo-space-m) * 0.7) calc(var(--lumo-space-s) * -0.15) var(--lumo-contrast-20pct);
9+
flex-flow: row wrap;
1010
}
1111

1212
.breadcrumb:first-child {
@@ -20,9 +20,10 @@
2020
padding-left: var(--lumo-space-xl);
2121
padding-right: var(--lumo-space-s);
2222
font-size: var(--lumo-font-size-l);
23-
color: var(--lumo-text-primary);
23+
color: var(--lumo-header-text-color);
2424
position: relative;
2525
cursor: pointer;
26+
white-space: nowrap;
2627
}
2728

2829
.breadcrumb:after {

0 commit comments

Comments
 (0)