Skip to content
Snippets Groups Projects
Commit 3bd59a5d authored by Bilel El Yaagoubi's avatar Bilel El Yaagoubi
Browse files

middly finished moviePage

parent 2d903bd0
No related branches found
No related tags found
1 merge request!8Movie page
Pipeline #42589 passed
...@@ -23,6 +23,6 @@ export default { ...@@ -23,6 +23,6 @@ export default {
display: flex; display: flex;
margin-left: auto; margin-left: auto;
margin-right: auto; margin-right: auto;
align-items: center; justify-content: center;
} }
</style> </style>
<template> <template>
<div class="home"> <div class="home">
<h1>Bienvenue sur la page film</h1>
<div class="parent"> <div class="parent">
<MoviePoster class="child" :posterPath="moviesInfos.poster_path" /> <MoviePoster class="child" :posterPath="moviesInfos.poster_path" />
<MovieInfos <MovieInfos
...@@ -65,10 +64,15 @@ export default { ...@@ -65,10 +64,15 @@ export default {
<style scoped> <style scoped>
.home { .home {
height: 100%; height: 100%;
vertical-align: middle;
display: inline;
} }
.parent { .parent {
vertical-align: middle;
display: flex; display: flex;
height: 80%; height: 90%;
margin-top: 3%;
margin-bottom: 3%;
} }
.child { .child {
width: 45%; width: 45%;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment