Skip to content

Commit

Permalink
fix(contactus): update location card to use nested
Browse files Browse the repository at this point in the history
  • Loading branch information
dcshzj committed Sep 6, 2023
1 parent 30cb4e1 commit 2f8db18
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/layouts/components/ContactUs/LocationCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ export const LocationCard = ({
<Editable.Accordion>
{/* Note: contentEditable is required to stop drag and drop
from hitting the first level drag and drop */}
<VStack p={0} spacing="1.125rem" contentEditable>
<VStack p={0} spacing="0.75rem" contentEditable>
{frontMatter.operating_hours.map(
(operatingHour, operatingHourIndex) => (
<Editable.DraggableAccordionItem
Expand All @@ -145,9 +145,9 @@ export const LocationCard = ({
isInvalid={_.some(
errors.operating_hours[operatingHourIndex]
)}
isNested
>
<Editable.Section mt="-0.5rem">
{/* Operating hours days */}
<FormControl
isRequired
isInvalid={
Expand Down

0 comments on commit 2f8db18

Please sign in to comment.