Update some styles
This commit is contained in:
parent
f3d3f4c21f
commit
0d6cf15e78
|
|
@ -56,6 +56,7 @@
|
|||
cursor: pointer;
|
||||
background-color: $color-white;
|
||||
border: 1px solid $color-silver;
|
||||
z-index: 90;
|
||||
|
||||
&__icon {
|
||||
width: 50px;
|
||||
|
|
|
|||
|
|
@ -1,8 +1,9 @@
|
|||
<template>
|
||||
<router-link
|
||||
:to="moduleLink"
|
||||
:class="['module-teaser', {'module-teaser--small': !teaser}]"
|
||||
tag="div"
|
||||
class="module-teaser">
|
||||
>
|
||||
<div
|
||||
:style="{backgroundImage: 'url('+heroImage+')'}"
|
||||
class="module-teaser__image"/>
|
||||
|
|
@ -46,6 +47,10 @@
|
|||
box-sizing: border-box;
|
||||
cursor: pointer;
|
||||
|
||||
&--small {
|
||||
height: 300px;
|
||||
}
|
||||
|
||||
&__image {
|
||||
width: 100%;
|
||||
max-height: 150px;
|
||||
|
|
|
|||
Loading…
Reference in New Issue