Skip to content

Commit

Permalink
Fix padding on SettingsDefinitionList
Browse files Browse the repository at this point in the history
Use of undocumented APIs caused an issue on production
  • Loading branch information
underbluewaters committed Dec 11, 2023
1 parent 470a9e2 commit 093445f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/client/src/admin/SettingsDefinitionList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export function SettingsDefinitionList({
"type" in child &&
// @ts-ignore
child.type.name === "SettingsDLListItem"
? `py-4 sm:py-5 sm:grid sm:grid-cols-3 sm:gap-4 px-2`
? `px-2`
: "px-2"
}
>
Expand Down Expand Up @@ -46,7 +46,7 @@ export function SettingsDLListItem({
);
}
return (
<>
<div className="py-4 sm:py-5 sm:grid sm:grid-cols-3 sm:gap-4">
<dt className="flex items-center text-sm font-medium text-gray-500">
{term}
</dt>
Expand All @@ -59,6 +59,6 @@ export function SettingsDLListItem({
>
{description}
</dd>
</>
</div>
);
}

0 comments on commit 093445f

Please sign in to comment.