fix (ui): Card layout

This commit is contained in:
Shivam Mishra 2019-04-25 19:33:22 +05:30
parent 37a55345fd
commit 2428485ebb
5 changed files with 5 additions and 5 deletions

View File

@ -1,5 +1,5 @@
<template>
<div class="mt-3 col-md-4 col-sm-12">
<div class="py-3 col-md-4 col-sm-12">
<div class="card h-100">
<div class="card-hero-img" v-if="course.hero_image" v-bind:style="{ 'background-image': 'url(' + image + ')' }"></div>
<div v-else class="card-image-wrapper">

View File

@ -1,5 +1,5 @@
<template>
<div class='mt-3 col-md-4 col-sm-12'>
<div class='py-3 col-md-4 col-sm-12'>
<div class="card h-100">
<router-link :to="'/Program/' + program.name">
<div class="card-hero-img" v-if="program.hero_image" v-bind:style="{ 'background-image': 'url(' + image + ')' }"></div>

View File

@ -1,5 +1,5 @@
<template>
<div class='mt-3 col-md-4 col-sm-12'>
<div class='py-3 col-md-4 col-sm-12'>
<div class="card h-100">
<div class='card-body'>
<router-link :to="'/Program/' + programData.name">

View File

@ -1,5 +1,5 @@
<template>
<div v-if="quizData" class='mt-3 col-md-4 col-sm-12'>
<div v-if="quizData" class='py-3 col-md-4 col-sm-12'>
<div class="card h-100">
<div class='card-body'>
<h5 class='card-title'>{{ quizData.program }}</h5>

View File

@ -1,6 +1,6 @@
<template>
<div class="mt-3 col-md-4 col-sm-12">
<div class="py-3 col-md-4 col-sm-12">
<div class="card h-100">
<div class="card-hero-img" v-if="topic.hero_image" v-bind:style="{ 'background-image': 'url(' + image + ')' }"></div>
<div v-else class="card-image-wrapper">