fix (ui): UI fixes to Video page

This commit is contained in:
scmmishra 2019-04-22 17:52:48 +05:30
parent 6c8f23b27e
commit 804a74c01c
3 changed files with 29 additions and 8 deletions

View File

@ -37,9 +37,4 @@ export default {
</script> </script>
<style lang="css" scoped> <style lang="css" scoped>
.nav-buttons {
position: absolute;
bottom: 0;
right: 0;
}
</style> </style>

View File

@ -2,7 +2,6 @@
<div> <div>
<section class='mt-2'> <section class='mt-2'>
<div> <div>
<youtube-player :url="contentData.url"/>
<div class="mt-3 row"> <div class="mt-3 row">
<div class="col-md-8"> <div class="col-md-8">
<h2>{{ contentData.name }}</h2> <h2>{{ contentData.name }}</h2>
@ -15,12 +14,13 @@
<slot></slot> <slot></slot>
</div> </div>
</div> </div>
<youtube-player :url="contentData.url" class="mt-3"/>
<hr> <hr>
</div> </div>
</section> </section>
<section class="video-description-section"> <section class="video-description-section">
<div> <div>
<div class="content" :html="contentData.description"> <div class="content" v-html="contentData.description">
</div> </div>
<div class="text-right hidden"> <div class="text-right hidden">
<a class='btn btn-outline-secondary' href="/classrooms/module">Previous</a> <a class='btn btn-outline-secondary' href="/classrooms/module">Previous</a>

View File

@ -17,3 +17,29 @@ export default {
} }
}; };
</script> </script>
<style>
div.card-hero-img {
height: 220px;
background-size: cover;
background-repeat: no-repeat;
background-position: center;
background-color: rgb(250, 251, 252);
}
.card-image-wrapper {
display: flex;
overflow: hidden;
height: 220px;
background-color: rgb(250, 251, 252);
justify-content: center;
}
.image-body {
align-self: center;
color: #d1d8dd;
font-size: 24px;
font-weight: 600;
line-height: 1;
padding: 20px;
}
</style>