Skip to content

Commit

Permalink
Fix padding in export sets and add gap between sets (#3107)
Browse files Browse the repository at this point in the history
* add padding to the set List in export sets Tab

* add changeset

* ad compact, remove css padding

* remove unused import
  • Loading branch information
akshay-gupta7 authored Sep 2, 2024
1 parent 5e630b6 commit a81b9a9
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/cyan-fireants-sparkle.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@tokens-studio/figma-plugin": patch
---

Add missing padding to list of token sets in Export Token Sets Tab
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { FileDirectoryIcon } from '@primer/octicons-react';
import {
Tabs, Stack, Heading, Button, Link,
Tabs, Stack, Heading, Button,
} from '@tokens-studio/ui';
import React, { useMemo } from 'react';
import { useDispatch, useSelector, useStore } from 'react-redux';
Expand Down Expand Up @@ -145,6 +145,7 @@ export default function ExportSetsTab({ selectedSets, setSelectedSets }: { selec
<Modal
size="fullscreen"
full
compact
isOpen={showChangeSets}
close={handleCancelChangeSets}
backArrow
Expand All @@ -160,10 +161,13 @@ export default function ExportSetsTab({ selectedSets, setSelectedSets }: { selec
</Stack>
)}
>
<Heading>{t('exportSetsTab.changeSetsHeading')}</Heading>
<Heading>
{t('exportSetsTab.changeSetsHeading')}
</Heading>
{/* Commenting until we have docs <Link target="_blank" href={docsLinks.sets}>{`${t('generic.learnMore')} – ${t('docs.referenceOnlyMode')}`}</Link> */}
<Stack
direction="column"
gap={1}
css={{
marginBlockStart: '$4',
}}
Expand Down

0 comments on commit a81b9a9

Please sign in to comment.