Skip to content
Snippets Groups Projects
Verified Commit e38f7214 authored by Alexa Valentová's avatar Alexa Valentová
Browse files

fix background image positioning

parent 52b01950
No related branches found
No related tags found
1 merge request!29Feat/redesign
Pipeline #18397 passed
<div
class="newsletter-section"
class="newsletter-section newsletter-section--small"
style="background-image:url('../../../../../static/images/background-images/bg-newsletter.webp')"
>
<div class="container--medium py-16">
......
.newsletter-section {
@apply bg-cover bg-no-repeat;
background-position: -400px;
&:not(.newsletter-section--small) {
background-position: -400px;
}
@screen md {
background-position: left top;
......
......@@ -31,7 +31,7 @@
:title="point.title"
:renderedContent="point.renderedContent"
:points="point.points"
:openPointBackgroundClass="point.openPointBackgroundClass"
:openPointBackgroundClass="openPointBackgroundClass"
/>
</ul>
</div>
......
......@@ -101,7 +101,7 @@
<script>
export default {
name: "CardProgramItem",
props: ["slug", "title", "number", "renderedContent", "points", "defaultIsOpen"],
props: ["slug", "title", "number", "renderedContent", "points", "defaultIsOpen", "openPointBackgroundClass"],
data () {
return {
isOpen: this.defaultIsOpen
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment