Skip to content

Commit 031595d

Browse files
authored
[DevTools] Title color tweak (#34927)
<img width="521" height="365" alt="Screenshot 2025-10-20 at 11 53 50 AM" src="https://github.com/user-attachments/assets/1a073c09-d440-4498-b2b3-c0dcb2272c96" />
1 parent 3cde211 commit 031595d

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

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

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,17 +41,18 @@
4141

4242
.SuspenseRectsTitle {
4343
pointer-events: none;
44-
color: var(--color-text);
44+
color: color-mix(in srgb, var(--color-suspense) 50%, var(--color-text));
4545
overflow: hidden;
4646
text-overflow: ellipsis;
47+
font-family: var(--font-family-sans);
4748
font-size: var(--font-size-sans-small);
48-
line-height: var(--font-size-sans-small);
49-
padding: .25rem;
49+
line-height: var(--line-height-data);
50+
padding: 0 .25rem;
5051
container-type: size;
5152
container-name: title;
5253
}
5354

54-
@container title (width < 30px) or (height < 12px) {
55+
@container title (width < 30px) or (height < 18px) {
5556
.SuspenseRectsTitle > span {
5657
display: none;
5758
}

0 commit comments

Comments
 (0)