Skip to content

Commit

Permalink
fix issue with css override on hover
Browse files Browse the repository at this point in the history
  • Loading branch information
thilinaaligent committed May 15, 2024
1 parent a045e71 commit b29aef1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "pert-with-wings",
"private": true,
"version": "1.4.2",
"version": "1.4.3",
"type": "module",
"scripts": {
"dev": "vite",
Expand Down
4 changes: 2 additions & 2 deletions src/components/PertModal/PertModal.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -231,14 +231,14 @@
opacity: 0.5;
}

.pertButtons .IDAHOBIT {
.openPertModalButton.IDAHOBIT {
--width: 100px;
--angle:120deg;
background: repeating-linear-gradient(var(--angle), rgb(255, 140, 0), rgb(255, 171, 0), rgb(45, 181, 125), rgb(0, 184, 217), rgb(135, 119, 217), rgb(255, 86, 35), rgb(255, 140, 0) var(--width));
background-size: calc(var(--width)/sin(var(--angle))) 100%;
}

.pertButtons .IDAHOBIT:hover {
.openPertModalButton.IDAHOBIT:hover {
animation: IDAHOBITanimation 2s linear infinite;
background-position: unset;
}
Expand Down

0 comments on commit b29aef1

Please sign in to comment.