Skip to content

Commit

Permalink
fixed max view will see tomorrow
Browse files Browse the repository at this point in the history
  • Loading branch information
ShivamJoker committed Sep 1, 2019
1 parent ecb133c commit 708a9b8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions src/components/darkMode.css
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,16 @@
color: rgba(255, 255, 255, 0.7);
}

.dark .pinkLists > a, .dark .pinkLists svg{
color: #fff;
fill: #fff;

.dark .pinkLists > a,
.dark .pinkLists svg {
color: #fff;
fill: #fff;
}

.dark .pinkLists > a {
background: #dedede12;
background: #dedede12;
}

.wholePlayer {
background: #e91e63;
background: #e91e63;
}
4 changes: 2 additions & 2 deletions src/components/player/MainPlayer.js
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ const MainPlayer = ({ location, history }) => {
position: "fixed",
right: 0,
bottom: 0,

background: "#fff",
width: "100%",
height: "100%",
zIndex: 1400,
Expand All @@ -294,6 +294,7 @@ const MainPlayer = ({ location, history }) => {
if (playerState === "minimized") {
playerStyle.transform = "translateY(calc(100% - 106px))";
playerStyle.zIndex = 0;
playerStyle.background = "#e91e63";
// playerStyle.bottom = "48px";
// calculate the top height and we are subtracting 148px becz
// 48 is the value of menu bar and 100px is minimized height
Expand All @@ -304,7 +305,6 @@ const MainPlayer = ({ location, history }) => {
if (playerState === "maximized") {
// make body overflow hidden 🙈
body.style.overflow = "hidden";
playerStyle.background = "#fff";
}

if (playerState === "playlist") {
Expand Down

0 comments on commit 708a9b8

Please sign in to comment.