From 9491ef60d817764939a794c6c7c17ea171149cb7 Mon Sep 17 00:00:00 2001 From: Danny Morabito Date: Thu, 20 Feb 2025 21:37:54 +0100 Subject: [PATCH] visually mark unimplemented forum post buttons --- src/components/ForumPost.ts | 23 ++++++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) diff --git a/src/components/ForumPost.ts b/src/components/ForumPost.ts index 6392fec..e55ea07 100644 --- a/src/components/ForumPost.ts +++ b/src/components/ForumPost.ts @@ -58,6 +58,11 @@ export class ForumPost extends LitElement { } } } + + .disabled { + pointer-events: none; + opacity: 0.5; + } `, ]; @@ -81,7 +86,11 @@ export class ForumPost extends LitElement { >
- + alert("TODO")} + class="disabled" + > Reply @@ -89,11 +98,19 @@ export class ForumPost extends LitElement { Permalink - + alert("TODO")} + class="disabled" + > Zap - + alert("TODO")} + class="disabled" + >