[DevTools] Text layout fixes for stack traces with badges (#34925)

This commit is contained in:
Sebastian "Sebbie" Silbermann 2025-10-20 19:33:47 +02:00 committed by GitHub
parent 2bcbf254f1
commit 1d3664665b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 10 additions and 5 deletions

View File

@ -3,8 +3,9 @@
}
.CallSite, .BuiltInCallSite {
display: block;
display: flex;
padding-left: 1rem;
white-space-collapse: preserve;
}
.IgnoredCallSite, .BuiltInCallSite {
@ -20,13 +21,15 @@
white-space: pre;
overflow: hidden;
text-overflow: ellipsis;
flex: 1;
cursor: pointer;
border-radius: 0.125rem;
padding: 0px 2px;
}
.Link:hover {
background-color: var(--color-background-hover);
}
.ElementBadges {
margin-left: 0.25rem;
}

View File

@ -86,8 +86,10 @@ export function CallSiteView({
</span>
</>
)}
<ElementBadges environmentName={environmentName} />
<ElementBadges
className={styles.ElementBadges}
environmentName={environmentName}
/>
</div>
);
}