Skip to content

Commit

Permalink
Control Bar Css Update
Browse files Browse the repository at this point in the history
  • Loading branch information
NayanPatidar committed Jun 22, 2024
1 parent d62131e commit 2051774
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 6 deletions.
22 changes: 21 additions & 1 deletion src/app/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,26 @@
display: block !important;
}

/* Hiding time divider and duration, and decreasing the
width of the controls on screens smaller than 512px */
@media (max-width: 550px) {
.vjs-time-divider {
display: none !important;
}

.video-js .vjs-current-time {
display: block !important;
}

.vjs-duration {
display: none !important;
}

.video-js .vjs-control {
width: 2rem !important;
}
}

.vjs-tech:focus-visible{
outline: none;
}
Expand Down Expand Up @@ -124,7 +144,7 @@
bottom: 0;
z-index: 2;
pointer-events: none;

}
.timeline-segments:hover{
height: 10px;
Expand Down
10 changes: 5 additions & 5 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@
"incremental": true,
"plugins": [
{
"name": "next"
}
"name": "next",
},
],
"paths": {
"@/*": ["./src/*"],
"@public/*": ["./public/*"]
}
"@public/*": ["./public/*"],
},
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
"exclude": ["node_modules"]
"exclude": ["node_modules"],
}

0 comments on commit 2051774

Please sign in to comment.