Skip to content

Commit 43deda4

Browse files
committed
fixing hover state on copy button
1 parent be4d817 commit 43deda4

File tree

1 file changed

+5
-1
lines changed
  • packages/components/src/styles/components/code-editor

1 file changed

+5
-1
lines changed

packages/components/src/styles/components/code-editor/index.scss

+5-1
Original file line numberDiff line numberDiff line change
@@ -94,12 +94,16 @@
9494
border: 1px solid var(--hds-code-editor-color-border-strong);
9595

9696
&:active {
97-
background-color: var(--hds-code-editor-color-surface-interactive-active);
97+
background-color: var(--hds-code-editor-color-surface-interactive-active)
9898
}
9999

100100
&:focus,
101101
&:hover {
102102
background-color: var(--hds-code-editor-color-surface-primary);
103+
104+
.hds-button__icon {
105+
color: var(--hds-code-editor-color-foreground-primary);
106+
}
103107
}
104108

105109
.hds-button__icon {

0 commit comments

Comments
 (0)