Skip to content

Commit ecb54ac

Browse files
Kateryna ProkopenkoDevtools-frontend LUCI CQ
authored andcommitted
Change width and position for devtools-menu item highlight
Bug:none Change-Id: Ia7b28bcbf73c216c060c20dabfaba161ceb09b2a Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6309601 Commit-Queue: Benedikt Meurer <[email protected]> Auto-Submit: Kateryna Prokopenko <[email protected]> Reviewed-by: Benedikt Meurer <[email protected]> Commit-Queue: Kateryna Prokopenko <[email protected]>
1 parent 47bdcd2 commit ecb54ac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

front_end/ui/components/menus/menuItem.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,11 @@
5252
:host(:focus-visible:not(.prevents-close)) .menu-item::after {
5353
content: "";
5454
height: 100%;
55-
width: 100%;
55+
width: calc(100% + 2* var(--sys-size-8));
5656
border-radius: inherit;
5757
position: absolute;
5858
top: 0;
59-
left: 0;
59+
left: calc(-1 * var(--sys-size-8));
6060
background-color: var(--sys-color-state-hover-on-subtle);
6161
}
6262

0 commit comments

Comments
 (0)