Skip to content

Commit 197b0a4

Browse files
committed
Improve CSS for long breadcrumbs / small screens
1 parent 33422a5 commit 197b0a4

File tree

1 file changed

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

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
}
66

77
.breadcrumbs-container > vaadin-horizontal-layout {
8-
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);
98
flex-flow: row wrap;
109
}
1110

@@ -14,6 +13,7 @@
1413
}
1514

1615
.breadcrumb {
16+
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);
1717
height: var(--lumo-size-l);
1818
background: var(--lumo-base-color);
1919
line-height: var(--lumo-size-l);
@@ -29,7 +29,7 @@
2929
.breadcrumb:after {
3030
content: "";
3131
position: absolute;
32-
left: calc(100% - var(--lumo-space-m) * 0.7);
32+
left: calc(100% - var(--lumo-space-m) * 0.75);
3333
top: calc(var(--lumo-space-m) * 0.4);
3434
z-index: 1;
3535
width: 0;

0 commit comments

Comments
 (0)