1
0
mirror of https://github.com/kognise/water.css.git synced 2025-04-23 18:52:44 +02:00

Improve Product Hunt focus style

This commit is contained in:
Felix Mattick 2022-01-20 15:43:13 -06:00
parent 1229f3af28
commit 216d6defd9
No known key found for this signature in database
GPG Key ID: 4E7A3D01471F32AB
2 changed files with 2 additions and 2 deletions

View File

@ -94,11 +94,11 @@
<a
href="https://www.producthunt.com/posts/water-css?utm_source=badge-featured&utm_medium=badge&utm_souce=badge-water-css"
id="product-hunt"
target="_blank"
rel="noopener"
>
<img
id="product-hunt"
src="https://api.producthunt.com/widgets/embed-image/v1/top-post-badge.svg?post_id=150490&theme=dark&period=daily"
alt="Water.css - Make your tiny website just a little nicer | Product Hunt Embed"
style="width: 250px; height: 54px;"

View File

@ -11,7 +11,7 @@ const fileSizes = {
const themeForm = document.getElementById('theme-form')
const stylesheet = document.getElementById('js-stylesheet')
const startupStylesheet = document.getElementById('js-startup-stylesheet')
const productHunt = document.getElementById('product-hunt')
const productHunt = document.querySelector('#product-hunt > img')
const copyButton = document.getElementById('copy-button')
const copyButtonFeedback = document.getElementById('copy-button-feedback')
const linkSnippets = [].slice.call(document.querySelectorAll('#link-snippet-container > pre'))