Skip to content

Commit

Permalink
Fix stroke width of resize handles. (#34949)
Browse files Browse the repository at this point in the history
  • Loading branch information
jasmussen authored Sep 20, 2021
1 parent 3bcbef2 commit 115a70f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/components/src/resizable-box/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,16 @@ $resize-handler-container-size: $resize-handler-size + ($grid-unit-05 * 2); // M
content: "";
width: $resize-handler-size;
height: $resize-handler-size;
border: 2px solid var(--wp-admin-theme-color);
border-radius: 50%;
background: $white;
cursor: inherit;
position: absolute;
top: calc(50% - #{ceil($resize-handler-size * 0.5)});
right: calc(50% - #{ceil($resize-handler-size * 0.5)});

box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
// Only visible in Windows High Contrast mode.
outline: 2px solid transparent;
}

// This is the "visible" resize handle for side handles - the line
Expand Down

0 comments on commit 115a70f

Please sign in to comment.