From 63a2f76856ecf7ac4118ef1e49937daf8b8dde2f Mon Sep 17 00:00:00 2001 From: BomberFish Date: Tue, 10 Dec 2024 15:51:08 -0500 Subject: [PATCH] pure css launcher button icon --- src/Launcher.css | 12 ++++++++++++ src/Taskbar.tsx | 7 +------ 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/src/Launcher.css b/src/Launcher.css index a65c2d3f..d2ec099b 100644 --- a/src/Launcher.css +++ b/src/Launcher.css @@ -22,6 +22,18 @@ width: 34px; } +#launcher-button::after { + content: ""; + position: absolute; + width: 0.78em; + height: 0.78em; + border: 0.16em solid var(--theme-fg); + border-radius: 50%; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); +} + #launcher-button img { border-radius: 50%; height: 15px; diff --git a/src/Taskbar.tsx b/src/Taskbar.tsx index ac4ab03e..dc4f99a0 100644 --- a/src/Taskbar.tsx +++ b/src/Taskbar.tsx @@ -368,12 +368,7 @@ class Taskbar { calendar.close(); launcher.toggleVisible(); }} - > - - + >