Tighten navigation section header spacing
This commit is contained in:
1 parent
3136e3590a
commit
385088d53a
4 files changed
+5
-5
No files matched your search
@@ -75,7 +75,7 @@ export function SettingsNav({
|
||||
{items.map(({ label: sectionLabel, items: sectionItems }, index) => (
|
||||
<Column key={`${sectionLabel}${index}`} gap="1" marginBottom="1">
|
||||
{!isCollapsed && (
|
||||
<Row padding>
|
||||
<Row paddingX="3" marginTop="2">
|
||||
<Text weight="bold">{sectionLabel}</Text>
|
||||
</Row>
|
||||
)}
|
||||
|
||||
@@ -37,7 +37,7 @@ export function WebsiteNav({
|
||||
{items.map(({ label: sectionLabel, items: sectionItems }, index) => (
|
||||
<Column key={`${sectionLabel}${index}`} gap="1" marginBottom="1">
|
||||
{!isCollapsed && (
|
||||
<Row padding>
|
||||
<Row paddingX="3" marginTop="2">
|
||||
<Text weight="bold">{sectionLabel}</Text>
|
||||
</Row>
|
||||
)}
|
||||
|
||||
@@ -169,7 +169,7 @@ export function ShareNav({
|
||||
{items.map(({ label: sectionLabel, items: sectionItems }, index) => (
|
||||
<Column key={`${sectionLabel}${index}`} gap="1" marginBottom="1">
|
||||
{!collapsed && (
|
||||
<Row padding>
|
||||
<Row paddingX="3" marginTop="2">
|
||||
<Text weight="bold">{sectionLabel}</Text>
|
||||
</Row>
|
||||
)}
|
||||
|
||||
@@ -62,8 +62,8 @@ export function NavMenu({
|
||||
{items?.map(({ label, items }, index) => {
|
||||
if (label) {
|
||||
return (
|
||||
<Column key={`${label}${index}`} gap="2" marginBottom="3" minHeight="40px">
|
||||
<Row padding>
|
||||
<Column key={`${label}${index}`} gap="1" marginBottom="3" minHeight="40px">
|
||||
<Row paddingX="3" marginTop="2">
|
||||
<Text weight="bold">{label}</Text>
|
||||
</Row>
|
||||
{renderItems(items)}
|
||||
|
||||
Reference in new issue
Block a user