Skip to content

Commit cd7491b

Browse files
committed
Increase dock hover affordance
1 parent 97bbf1b commit cd7491b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

static/docks.less

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,10 @@ atom-dock {
1616
.atom-dock-inner {
1717
display: flex;
1818

19-
// Keep the area at least a pixel wide so that you have something to hover
19+
// Keep the area at least 2 pixels wide so that you have something to hover
2020
// over to trigger the toggle button affordance even when fullscreen.
21-
&.left, &.right { min-width: 1px; }
21+
// Needs to be 2 pixels to work on Windows when scaled to 150%. See atom/atom #15728
22+
&.left, &.right { min-width: 2px; }
2223
&.bottom { min-height: 1px; }
2324

2425
&.bottom { width: 100%; }

0 commit comments

Comments
 (0)