From 0413670925bee61a658cf76776a69041b6e99a76 Mon Sep 17 00:00:00 2001 From: OctoNezd Date: Tue, 26 Mar 2024 21:23:25 +0300 Subject: [PATCH] Display vote count in icon preview --- src/features/iconRegulator.ts | 3 ++- src/features/posts/css/votes.scss | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/features/iconRegulator.ts b/src/features/iconRegulator.ts index a3f2b42..cac8ad1 100644 --- a/src/features/iconRegulator.ts +++ b/src/features/iconRegulator.ts @@ -6,12 +6,13 @@ class IconSizePreview extends SettingOption { super("", ""); // @ts-ignore this.element = document.createElement("div"); + this.element.classList.add("iconSizeDemo"); this.element.innerHTML = `

Preview: