Skip to content

Commit

Permalink
pure css launcher button icon
Browse files Browse the repository at this point in the history
  • Loading branch information
BomberFish committed Dec 10, 2024
1 parent 9997d29 commit 63a2f76
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 6 deletions.
12 changes: 12 additions & 0 deletions src/Launcher.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
7 changes: 1 addition & 6 deletions src/Taskbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -368,12 +368,7 @@ class Taskbar {
calendar.close();
launcher.toggleVisible();
}}
>
<img
src="/assets/icons/launcher.svg"
style="height:100%;width:100%"
></img>
</div>
></div>
</div>
<nav
id="taskbar-bar"
Expand Down

0 comments on commit 63a2f76

Please sign in to comment.