Update some styles

This commit is contained in:
Ramon Wenger 2020-06-30 18:06:56 +02:00
parent f3d3f4c21f
commit 0d6cf15e78
2 changed files with 7 additions and 1 deletions

View File

@ -56,6 +56,7 @@
cursor: pointer; cursor: pointer;
background-color: $color-white; background-color: $color-white;
border: 1px solid $color-silver; border: 1px solid $color-silver;
z-index: 90;
&__icon { &__icon {
width: 50px; width: 50px;

View File

@ -1,8 +1,9 @@
<template> <template>
<router-link <router-link
:to="moduleLink" :to="moduleLink"
:class="['module-teaser', {'module-teaser--small': !teaser}]"
tag="div" tag="div"
class="module-teaser"> >
<div <div
:style="{backgroundImage: 'url('+heroImage+')'}" :style="{backgroundImage: 'url('+heroImage+')'}"
class="module-teaser__image"/> class="module-teaser__image"/>
@ -46,6 +47,10 @@
box-sizing: border-box; box-sizing: border-box;
cursor: pointer; cursor: pointer;
&--small {
height: 300px;
}
&__image { &__image {
width: 100%; width: 100%;
max-height: 150px; max-height: 150px;