Skip to content

Commit 5973575

Browse files
committed
chore: refine copy icon styling
1 parent 7ef219b commit 5973575

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/components/AggregationPanel/AggregationPanel.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@
2727
display: none;
2828
cursor: pointer;
2929
margin-left: 4px;
30+
color: inherit;
31+
opacity: 0.6;
3032
}
3133

3234
&:hover .copyIcon {

src/components/AggregationPanel/AggregationPanelComponents.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export const KeyValueElement = ({ item, appName, style, showNote }) => {
3030
<span>{item.value}</span>
3131
)}
3232
<span className={styles.copyIcon} onClick={handleCopy}>
33-
<Icon name="clone-icon" width={12} height={12} />
33+
<Icon name="clone-icon" width={12} height={12} fill="currentColor" />
3434
</span>
3535
</div>
3636
);

0 commit comments

Comments
 (0)