Skip to content

Commit

Permalink
Enhance visual
Browse files Browse the repository at this point in the history
  • Loading branch information
QubitPi committed Nov 30, 2024
1 parent 90a1c5c commit f456793
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 2 deletions.
13 changes: 12 additions & 1 deletion src/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,16 @@
}

.container .playListSection {
flex: 40%;
flex: 20%;

background: white;
background: linear-gradient(
to right bottom,
rgba(255, 255, 255, 0.7),
rgba(255, 255, 255, 0.3)
);
border-radius: 2rem;

display: flex;
justify-content: center;
}
11 changes: 11 additions & 0 deletions src/components/PlayList.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,18 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
.playlist {
width: 85%;
}

.playlist .title {
margin-top: 1rem;
text-align: center;
}


.playlist .videoTitle {
margin-top: 1rem;
padding-left: 1rem;
}

Expand Down
2 changes: 1 addition & 1 deletion src/components/PlayList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export default function PlayList(props: PlayListProps) {
onClick={() => props.listItemOnClick(video)}
>
<img src={playIcon} alt=""/>
<h3 className="title">{video.title}</h3>
<h3 className="videoTitle">{video.title}</h3>
<p className="time">{video.duration}</p>
</div>
})
Expand Down

0 comments on commit f456793

Please sign in to comment.