Skip to content

Commit

Permalink
Fix glow effect sizing
Browse files Browse the repository at this point in the history
  • Loading branch information
HauseMasterZ committed Dec 3, 2023
1 parent e395215 commit 298bc33
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 297 deletions.
2 changes: 1 addition & 1 deletion src/components/Home.js
Original file line number Diff line number Diff line change
Expand Up @@ -742,7 +742,7 @@ function Home() {
}, [totalTyped]);

useEffect(() => {
if (totalErrors === 0 || latestWord === '') return;
if (totalErrors === 0) return;
flashErrorDisplays();
}, [totalErrors])

Expand Down
8 changes: 4 additions & 4 deletions src/static/styles/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -364,12 +364,12 @@ option[value="Poppins"] {
.glow::after {
content: '';
position: absolute;
top: -1px;
left: -1px;
top: -1.5px;
left: -1.5px;
background: linear-gradient(45deg, #e6fb04, #ff6600, #00ff66, #00ffff, #ff00ff, #6e0dd0, #ff3300, #099fff);
background-size: 400%;
width: calc(100% + 2px);
height: calc(100% + 2px);
width: calc(100% + 3px);
height: calc(100% + 3px);
z-index: -1;
animation: glowing 20s linear infinite;
}
Expand Down
292 changes: 0 additions & 292 deletions src/static/styles/temp.css

This file was deleted.

0 comments on commit 298bc33

Please sign in to comment.