Skip to content

Commit e366c84

Browse files
authored
Hides chevron on truncated button when not hovered (#4406)
Otherwise a little piece of it is visible that doesn't look good (#4387, #4406)
1 parent bfc908b commit e366c84

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/webviews/apps/shared/components/repo-button-group.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,9 @@ export class GlRepoButtonGroup extends GlElement {
6464
transition: max-width 0.3s cubic-bezier(0.25, 1, 0.5, 1);
6565
} */
6666
67+
:host([expandable]:not(:hover, :focus-within)) .truncated-button .picker-icon::before {
68+
visibility: hidden;
69+
}
6770
:host([expandable]:not(:hover, :focus-within)) .truncated-button {
6871
min-width: 0;
6972
max-width: 0;

0 commit comments

Comments
 (0)