Skip to content

Commit 9d1ae06

Browse files
committed
fix: non-token fields are copyable in spacing table
Signed-off-by: Lorenzo Croce <lorenzo.croce@arenastudios.it>
1 parent b8d77e6 commit 9d1ae06

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

  • src/sections/Projects/Sistent/identity/spacing

src/sections/Projects/Sistent/identity/spacing/code.js

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -161,12 +161,8 @@ const SpacingCode = () => {
161161
<StyledTableCell sx={{ fontFamily: "monospace" }}>
162162
<CopyValue copyValue={spacing.token} />
163163
</StyledTableCell>
164-
<StyledTableCell>
165-
<CopyValue copyValue={spacing.px} />
166-
</StyledTableCell>
167-
<StyledTableCell>
168-
<CopyValue copyValue={spacing.rem} />
169-
</StyledTableCell>
164+
<StyledTableCell> {spacing.px} </StyledTableCell>
165+
<StyledTableCell> {spacing.rem} </StyledTableCell>
170166
<StyledTableCell align="center">
171167
<SpacingVisualBox size={spacing.size} />
172168
</StyledTableCell>

0 commit comments

Comments
 (0)