Skip to content

Commit 3fa524b

Browse files
committed
e2e width override
1 parent b08bb52 commit 3fa524b

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

packages/code-studio/src/styleguide/ThemeColors.tsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,12 @@ export function ThemeColors(): JSX.Element {
136136
{name.endsWith('-hue') || note != null ? (
137137
<span>{note ?? value}</span>
138138
) : null}
139-
<CopyButton copy={name} isQuiet />
139+
<CopyButton
140+
copy={name}
141+
isQuiet
142+
// copy button changed size, but don't want to update e2e tests
143+
UNSAFE_style={{ minWidth: 0, width: '30px' }}
144+
/>
140145
</div>
141146
)
142147
)}

0 commit comments

Comments
 (0)