Skip to content

Commit

Permalink
z-index for sidebar
Browse files Browse the repository at this point in the history
  • Loading branch information
manikandanraji committed Jul 14, 2020
1 parent 6651c94 commit b4ba197
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
1 change: 1 addition & 0 deletions src/components/Sidebar.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ const SidebarWrapper = styled.div`
overflow: auto;
padding-bottom: 1.5rem;
transition: all 0.3s;
z-index: 2;
&::-webkit-scrollbar {
width: 0;
Expand Down
5 changes: 0 additions & 5 deletions src/components/UploadVideo.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,6 @@ const UploadVideo = () => {
setPreviewVideo(url);
setShowModal(true);

// setTimeout(() => {
// toast.dark("Video uploads paused, try later");
// setShowModal(false);
// }, 5000)

const data = await upload("video", file);
setUrl(data);

Expand Down
4 changes: 2 additions & 2 deletions src/components/UploadVideoModal.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ const openModal = keyframes`

const Wrapper = styled.div`
position: fixed;
z-index: 330;
top: 0;
left: 0;
width: 100%;
height: 100%;
overflow: hidden;
z-index: 900;
overflow: auto;
background-color: rgba(0, 0, 0, 0.7);
animation: ${openModal} 0.5s ease-in-out;
Expand Down

0 comments on commit b4ba197

Please sign in to comment.