Skip to content

Commit

Permalink
fixup! Docs(web-twig): Use spacing style props in all components #DS-…
Browse files Browse the repository at this point in the history
…1109
  • Loading branch information
crishpeen committed Jan 18, 2024
1 parent 899cd54 commit 6b5a759
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<form autocomplete="off">
<Grid cols="3" UNSAFE_className="mx-auto" UNSAFE_style="align-items: center; justify-items: center; max-width: 40rem;">
<Grid cols="3" marginX="auto" UNSAFE_style="align-items: center; justify-items: center; max-width: 40rem;">
<GridItem columnStart="2" rowStart="1">

<Radio name="placement" isLabelHidden value="topLeft" id="placement_top_left" label="top-left"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
{% include '@components/Header/stories/_partials/SpiritLogo.twig' %}
</Header>

<Heading elementType="div" size="large" UNSAFE_className="text-center mb-1200">Example Cover</Heading>
<Heading elementType="div" size="large" marginBottom="space-1200" UNSAFE_className="text-center">Example Cover</Heading>

</div>
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div>
<TooltipWrapper UNSAFE_className="d-inline-block mr-600 mb-600">
<TooltipWrapper marginRight="space-600" marginBottom="space-600" UNSAFE_className="d-inline-block">
<ButtonLink href="#" aria-describedby="my-tooltip-hover-top" UNSAFE_className="TooltipTarget">
Tooltip on top
</ButtonLink>
Expand All @@ -8,7 +8,7 @@
</Tooltip>
</TooltipWrapper>

<TooltipWrapper UNSAFE_className="d-inline-block mr-600 mb-600">
<TooltipWrapper marginRight="space-600" marginBottom="space-600" UNSAFE_className="d-inline-block">
<ButtonLink href="#" aria-describedby="my-tooltip-hover-right" UNSAFE_className="TooltipTarget">
Tooltip on right
</ButtonLink>
Expand All @@ -17,7 +17,7 @@
</Tooltip>
</TooltipWrapper>

<TooltipWrapper UNSAFE_className="d-inline-block mr-600 mb-600">
<TooltipWrapper marginRight="space-600" marginBottom="space-600" UNSAFE_className="d-inline-block">
<ButtonLink href="#" aria-describedby="my-tooltip-hover-bottom" UNSAFE_className="TooltipTarget">
Tooltip on bottom
</ButtonLink>
Expand All @@ -26,7 +26,7 @@
</Tooltip>
</TooltipWrapper>

<TooltipWrapper UNSAFE_className="d-inline-block mr-600 mb-600">
<TooltipWrapper marginRight="space-600" marginBottom="space-600" UNSAFE_className="d-inline-block">
<ButtonLink href="#" aria-describedby="my-tooltip-hover-left" UNSAFE_className="TooltipTarget">
Tooltip on left
</ButtonLink>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<form autocomplete="off">
<Grid cols="3" UNSAFE_className="mx-auto" UNSAFE_style="align-items: center; justify-items: center; max-width: 30rem;">
<Grid cols="3" marginX="auto" UNSAFE_style="align-items: center; justify-items: center; max-width: 30rem;">
<GridItem columnStart="2" rowStart="1">

<Radio name="placement" isLabelHidden value="top-start" id="placement_top_start" label="top-left"/>
Expand Down

0 comments on commit 6b5a759

Please sign in to comment.