Skip to content

Commit

Permalink
fix[react-devtools/InspectedElementView.css]: dont draw bottom border…
Browse files Browse the repository at this point in the history
… for empty badge list (#29023)

Forward fix to #29014, the bug was
discovered while testing v5.2.0.
  • Loading branch information
hoxyq committed May 8, 2024
1 parent b37e4b4 commit 0e6ea69
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
@@ -1,6 +1,5 @@
.InspectedElementTree {
padding: 0.25rem;
border-top: 1px solid var(--color-border);
}
.InspectedElementTree:first-of-type {
border-top: none;
Expand Down
Expand Up @@ -25,8 +25,9 @@
line-height: var(--line-height-data);
}

.InspectedElementBadgesContainer {
.InspectedElementBadgesContainer:not(:empty) {
padding: 0.25rem;
border-bottom: 1px solid var(--color-border);
}

.Owner {
Expand Down

0 comments on commit 0e6ea69

Please sign in to comment.