Skip to content

Commit

Permalink
fix(video page): fixed videos page responsivenes by addjusting and ad…
Browse files Browse the repository at this point in the history
…ding tailwind classes

ticket #578
no breaking changes
  • Loading branch information
KarolSongin committed Jan 9, 2023
1 parent 7f904fc commit 4bc85ef
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 10 deletions.
4 changes: 2 additions & 2 deletions src/components/GetVideos.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ const GetVideos = () => {
{allVideos.videos.map((video, index) => (
<div
key={index}
className="details hov-bg-theme my-4 w-full cursor-pointer rounded bg-white bg-opacity-[.2] p-4 text-white shadow backdrop-blur-lg transition-all ease-out hover:-translate-y-1 sm:m-5 sm:w-80 sm:p-6"
className="details hov-bg-theme my-4 cursor-pointer rounded bg-white bg-opacity-[.2] py-6 text-white shadow backdrop-blur-lg transition-all ease-out hover:-translate-y-1 m-5 w-[22rem]"
>
<a
href={`https://www.youtube.com/watch?v=${video.videoId}`}
target="_blank" rel="noreferrer"
>
<Image
src={`https://img.youtube.com/vi/${video.videoId}/maxresdefault.jpg`}
className="rounded"
className="rounded mx-auto"
alt={video.videoTitle}
width={272}
height={153}
Expand Down
11 changes: 3 additions & 8 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -374,14 +374,9 @@
"resolved" "https://registry.npmjs.org/@next/font/-/font-13.1.1.tgz"
"version" "13.1.1"

"@next/[email protected]":
"integrity" "sha512-nnjuBrbzvqaOJaV+XgT8/+lmXrSCOt1YYZn/irbDb2fR2QprL6Q7WJNgwsZNxiLSfLdv+2RJGGegBx9sLBEzGA=="
"resolved" "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-13.1.1.tgz"
"version" "13.1.1"

"@next/[email protected]":
"integrity" "sha512-CM9xnAQNIZ8zf/igbIT/i3xWbQZYaF397H+JroF5VMOCUleElaMdQLL5riJml8wUfPoN3dtfn2s4peSr3azz/g=="
"resolved" "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-13.1.1.tgz"
"@next/[email protected]":
"integrity" "sha512-mVF0/3/5QAc5EGVnb8ll31nNvf3BWpPY4pBb84tk+BfQglWLqc5AC9q1Ht/YMWiEgs8ALNKEQ3GQnbY0bJF2Gg=="
"resolved" "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-13.1.1.tgz"
"version" "13.1.1"

"@nodelib/[email protected]":
Expand Down

0 comments on commit 4bc85ef

Please sign in to comment.