Skip to content

Commit db514fc

Browse files
committed
feat: change the util component of code block to default semi-transparent, and become opaque when hovering (#183)
1 parent 56349a7 commit db514fc

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/content-script/styles.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,12 @@
120120
position: absolute;
121121
right: 10px;
122122
top: 3px;
123+
transition: opacity 0.3s;
124+
opacity: 0.2;
125+
}
126+
127+
.code-corner-util:hover {
128+
opacity: 1;
123129
}
124130

125131
.gpt-util-group {

0 commit comments

Comments
 (0)