Skip to content

Commit 24a0abf

Browse files
authored
fix(ui5-breadcrumbs): correct overflow icon alignment and styling (#13341)
- Set dropdown icon vertical-align to middle per specification - Adjust ellipsis (3 dots) positioning and sizing for better alignment - Fine-tune underline position on hover/focus states Fixes #13301
1 parent ce59da4 commit 24a0abf

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

packages/main/src/themes/Breadcrumbs.css

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
width: var(--sapFontSize);
5252
height: var(--sapFontSize);
5353
padding-left: .675rem;
54-
vertical-align: text-top;
54+
vertical-align: middle;
5555
color: var(--sapLinkColor);
5656
}
5757

@@ -61,10 +61,11 @@
6161

6262
.ui5-breadcrumbs-dropdown-arrow-link-wrapper [ui5-icon]::before {
6363
content: "...";
64-
vertical-align: middle;
6564
position: absolute;
6665
left: 0;
67-
bottom: 0;
66+
top: 0.1rem;
67+
line-height: 1rem;
68+
vertical-align: middle;
6869
}
6970

7071
.ui5-breadcrumbs-dropdown-arrow-link-wrapper [ui5-link]::part(root),
@@ -78,11 +79,11 @@
7879
.ui5-breadcrumbs-dropdown-arrow-link-wrapper:hover [ui5-icon]::after {
7980
content: "";
8081
position: absolute;
81-
border-bottom: 0.0625rem solid;
82-
top: 0;
82+
height: 0.0725rem;
83+
background-color: currentColor;
8384
left: 0;
84-
bottom: 1px;
8585
right: 0;
86+
bottom: 0.3475rem;
8687
}
8788

8889
.ui5-breadcrumbs-popover {

0 commit comments

Comments
 (0)