Skip to content

Commit

Permalink
✨ add blur effect behind the closed player
Browse files Browse the repository at this point in the history
  • Loading branch information
Faïssal committed Dec 25, 2023
1 parent 7c78e83 commit 90416ca
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions components/Player/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,13 @@ const Player: React.FC = () => {

return (
<div
className="fixed bottom-0 px-2 pb-2 pt-0 z-10 bg-transparent"
className="fixed bottom-0 px-2 pb-2 pt-0 z-10 bg-transparent backdrop-blur-sm"
style={{
color: isWhite(color) ? "text-black" : "#fff",
height: showFullPlayer ? "100vh" : "auto",
transition: "0.3s",
width: showFullPlayer ? "100%" : "calc(100% - 7px)",
padding: showFullPlayer ? "0" : "0.5rem",
padding: showFullPlayer ? "0" : "0 0.5rem 0.5rem 0.5rem",
}}
>
<div
Expand Down
2 changes: 1 addition & 1 deletion public/sw.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 90416ca

Please sign in to comment.