Wakamai-Fondue / wakamai-fondue-site

Wakamai Fondue website
Apache License 2.0
37 stars 6 forks source link

Copy to clipboard #119

Closed RoelN closed 3 years ago

RoelN commented 3 years ago

(Merge https://github.com/Wakamai-Fondue/wakamai-fondue-site/pull/112 first)

Relevant commits start at commit dc75aa1

This adds a 📋 button to all code segments so you can easily copy CSS to the clipboard.

RoelN commented 3 years ago

@pascalw Thanks for the review! The icon is aligned technically, but since the clipboard thingy protrudes from the top, it looks slightly offset. Since this is a emoji native to the system, it will look different on Windows/Linux so I think having a technically correct margin is the best "universal" solution. (Best would be to introduce our own customs, but I'll save that for the bottom of the priority-list for now ;-))