Skip to content

Commit

Permalink
Docs(web,web-react,web-twig): Switch to v3 spacings in Tabs #DS-1444
Browse files Browse the repository at this point in the history
  • Loading branch information
crishpeen committed Aug 29, 2024
1 parent 2ca81aa commit 0a8d7c9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const TabsWithCustomSpacing = () => {
<Tabs
selectedTab={selectedId}
toggle={selectTab}
spacing={{ mobile: 'space-400', tablet: 'space-800', desktop: 'space-1200' }}
spacing={{ mobile: 'space-500', tablet: 'space-1000', desktop: 'space-1600' }}
>
<TabList>
<TabItem forTabPane={1}>Item 1</TabItem>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<TabList spacing="{{ { mobile: 'space-400', tablet: 'space-800', desktop: 'space-1200' } }}">
<TabList spacing="{{ { mobile: 'space-500', tablet: 'space-1000', desktop: 'space-1600' } }}">
<TabItem>
<TabLink isSelected id="pane-3-tab" data-spirit-toggle="tabs" targetPaneId="pane-3">Item 1</TabLink>
</TabItem>
Expand Down
2 changes: 1 addition & 1 deletion packages/web/src/scss/components/Tabs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ <h2 class="docs-Heading">Custom Spacing</h2>

<ul class="Tabs"
role="tablist"
style="--tabs-spacing: var(--spirit-space-400); --tabs-spacing-tablet: var(--spirit-space-800); --tabs-spacing-desktop: var(--spirit-space-1200)"
style="--tabs-spacing: var(--spirit-space-500); --tabs-spacing-tablet: var(--spirit-space-1000); --tabs-spacing-desktop: var(--spirit-space-1600)"
>
<li class="Tabs__item">
<button
Expand Down

0 comments on commit 0a8d7c9

Please sign in to comment.