Commit graph

6 commits

Author SHA1 Message Date
Pēteris Caune
347765557e
Remove debug line 2022-12-15 15:06:50 +02:00
Pēteris Caune
36e8843481
Drop clipboard.js dependency, use navigator.clipboard directly 2022-12-15 15:05:40 +02:00
Pēteris Caune
5ae85f850c
Fix JS error after copying a code snippet 2022-02-04 17:05:45 +02:00
Pēteris Caune
67560c96e1
Change icon CSS class prefix to work around Fanboy's filter list
Problem: if you use uBlock Origin, and enable the
"Fanboy's Social" filter list, Healthchecks does not show
Telegram or WhatsApp icons. This is because the filter list
contains "##.icon-telegram" and "##.icon-whatsapp" entries.

This commit changes the CSS class prefix to "ic-". So we're
now using icon classes like "ic-telegram" and "ic-whatsapp".

As a bonus, we save 2 bytes in HTML per displayed icon :-)
2021-02-03 10:44:35 +02:00
Pēteris Caune
913b82eb23 Use icon in the "copy" button. Add "copy" buttons dynamically, in JS. CSS tweaks. 2016-10-01 17:48:17 +03:00
Chitharanjan Das
4e260421f0 Adds 'copy to clipboard' function to example code snippets 2016-10-01 10:27:48 +05:30