Skip to content

Commit 61bf4e6

Browse files
committed
chore(sidebar): drop geometry explainer comment from PrStatusIcon
Generated-By: PostHog Code Task-Id: 3c36b344-ed49-424a-9218-703049ad89db
1 parent 891ff3c commit 61bf4e6

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

  • packages/ui/src/features/sidebar/components/items

packages/ui/src/features/sidebar/components/items/TaskIcon.tsx

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -232,15 +232,6 @@ function PrStatusIcon({
232232
// radial-gradient mask punches a hole in the PR glyph under the badge so
233233
// both shapes stay legible on any row background (hover, selected, command
234234
// palette highlight) without hardcoding a cutout ring color.
235-
//
236-
// All geometry is relative to the glyph's rendered box, not the `size`
237-
// prop: quill's `.quill-button svg:not([class*=size-])` rule resizes the
238-
// glyph to the button's icon size (14px in the sidebar), and the badge and
239-
// mask must track whatever actually renders so the composite stays the
240-
// same size as the plain PR icons on local-run rows. The badge's inline
241-
// percentage dimensions also exempt it from that quill rule. Badge: 65% of
242-
// the glyph, bleeding 9% past the corner, centered at 76.5%; the mask
243-
// hole's 37% radius leaves a thin ring around it.
244235
const mask =
245236
"radial-gradient(ellipse 37% 37% at 76.5% 76.5%, transparent 97%, black 100%)";
246237
const icon = (

0 commit comments

Comments
 (0)