Skip to content

Commit 406a8f1

Browse files
committed
Add a slight border radius to the rects
1 parent 3e8c8fd commit 406a8f1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/react-devtools-shared/src/devtools/views/SuspenseTab/SuspenseRects.css

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
padding: .25rem;
33
cursor: pointer;
44
outline: 1px solid var(--color-component-name);
5+
border-radius: 0.25rem;
56
}
67

78
.SuspenseRectsContainer[data-highlighted='true'] {
@@ -34,6 +35,7 @@
3435
pointer-events: all;
3536
outline-style: solid;
3637
outline-width: 1px;
38+
border-radius: 0.125rem;
3739
cursor: pointer;
3840
}
3941

@@ -49,7 +51,7 @@
4951

5052
/* highlight this boundary */
5153
.SuspenseRectsBoundary:hover:not(:has(.SuspenseRectsBoundary:hover)) > .SuspenseRectsRect, .SuspenseRectsBoundary[data-highlighted='true'] > .SuspenseRectsRect {
52-
background-color: var(--color-background-hover);
54+
background-color: var(--color-background-hover);
5355
}
5456

5557
.SuspenseRectsRect[data-highlighted='true'] {

0 commit comments

Comments
 (0)