Skip to content

Commit fb96187

Browse files
committed
Feat: fixed copy clicked!
1 parent 7c5f51a commit fb96187

File tree

4 files changed

+28
-3
lines changed

4 files changed

+28
-3
lines changed

src/css/helios-gcx.css

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,11 @@ ul#ds_sites_list li a:active {
253253
color: #3b4260!important;
254254
}
255255

256+
.doc .admonitionblock.caution a {
257+
color: #3b4260!important;
258+
text-decoration: underline;
259+
}
260+
256261
.doc .admonitionblock.tip tr {
257262
display: block;
258263
background: #F0F8F4;
@@ -272,6 +277,11 @@ ul#ds_sites_list li a:active {
272277
color: #008040!important;
273278
}
274279

280+
.doc .admonitionblock.tip a {
281+
color: #008040!important;
282+
text-decoration: underline;
283+
}
284+
275285
.doc .admonitionblock.warning tr {
276286
display: block;
277287
background: #F9F6F0;
@@ -291,6 +301,11 @@ ul#ds_sites_list li a:active {
291301
color: #916707!important;
292302
}
293303

304+
.doc .admonitionblock.warning a {
305+
color: #916707!important;
306+
text-decoration: underline;
307+
}
308+
294309
.doc .admonitionblock.important tr {
295310
display: block;
296311
background: #FEF1F1;
@@ -310,6 +325,11 @@ ul#ds_sites_list li a:active {
310325
color: #D52424!important;
311326
}
312327

328+
.doc .admonitionblock.important a {
329+
color: #D52424!important;
330+
text-decoration: underline;
331+
}
332+
313333
.doc .admonitionblock.note tr {
314334
display: block;
315335
background: #F3F8FF;
@@ -329,6 +349,11 @@ ul#ds_sites_list li a:active {
329349
color: #1E71D4!important;
330350
}
331351

352+
.doc .admonitionblock.note a {
353+
color: #1E71D4!important;
354+
text-decoration: underline;
355+
}
356+
332357
.doc .exampleblock>.content {
333358
border-width: 1.5px;
334359
}

src/js/07-copy-to-clipboard.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
toolbox.appendChild(copy)
4545
}
4646
pre.appendChild(toolbox)
47-
if (copy) copy.addEventListener('click', writeToClipboard.bind(copy, code))
47+
if (copy) img.addEventListener('click', writeToClipboard.bind(copy, code))
4848
})
4949

5050
function extractCommands (text) {

src/js/vendor/gcx-contact-form/gcx-contact-form.esm.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/js/vendor/gcx-contact-form/p-cc459cc2.entry.js renamed to src/js/vendor/gcx-contact-form/p-76b9cf5d.entry.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)