Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
devops-tausifalam committed Nov 5, 2024
1 parent 94e6acb commit effc8b6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,11 +84,11 @@ let monthName;
btnStateCoffee.style.display = btnStateCoffee.style.display === "block" ? "none" : "block";
btnStateBlurt.style.display = btnStateBlurt.style.display === "block" ? "none" : "block";
fab.classList.toggle("active")
if (fabIcon.classList.contains("bx-x-circle")) {
fabIcon.classList.remove("bx-x-circle")
if (fabIcon.classList.contains("bx-chevron-left")) {
fabIcon.classList.remove("bx-chevron-left")
fabIcon.classList.add("bxs-pencil")
} else {
fabIcon.classList.add("bx-x-circle")
fabIcon.classList.add("bx-chevron-left")
fabIcon.classList.remove("bxs-pencil")
}
}
1 change: 1 addition & 0 deletions lib/theme/winter.css
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ div.fab button{
color: var(--secondary);
margin-bottom: 10px;
border-radius: 50%;
box-shadow: var(--shadow);
}
div.fab button:nth-child(1){
background-color: var(--secondary);
Expand Down

0 comments on commit effc8b6

Please sign in to comment.