mirror of
https://github.com/supabase/supabase.git
synced 2026-10-08 10:55:06 +03:00
Fix icon-layout eyebrow suppression: centered (3/4), not stacked (4/4)
noEyebrowForArrangement was keyed to arrangement 3 (stacked), which has plenty of room for an eyebrow above the headline. The centered layout (arrangement 2) is the one with no room for it. Swapped the condition. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
05bea34866
commit
6dae864c60
1 file changed
+2
-2
@@ -155,8 +155,8 @@ export const TEMPLATES: Template[] = [
|
||||
anchorX: 'left',
|
||||
anchorY: 'bottom',
|
||||
arrangementCount: 4,
|
||||
// Stacked (3/4) has no room for an eyebrow above the headline.
|
||||
noEyebrowForArrangement: (arrangement) => arrangement === 3,
|
||||
// Centered (3/4) has no room for an eyebrow above the headline.
|
||||
noEyebrowForArrangement: (arrangement) => arrangement === 2,
|
||||
build: (p) => {
|
||||
const arrangement = p.arrangement ?? 0
|
||||
// Icon renders inside the same dark chip bounding box Partner logos
|
||||
|
||||
Reference in new issue
Block a user