Skip to content

Commit

Permalink
Change partnerslogos classname
Browse files Browse the repository at this point in the history
  • Loading branch information
celineung committed Oct 13, 2020
1 parent d8771e5 commit 75550d2
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions components/slices/PartnersLogos.vue
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
<template>
<section class="logos">
<section class="partners-logos">
<prismic-rich-text
v-if="hasTitle && shouldDisplayTitle"
class="logos__title"
class="partners-logos__title"
:field="title"
/>
<prismic-rich-text v-else class="sr-only" :field="title" />
<div class="logos__wrapper">
<div class="partners-logos__wrapper">
<div
v-for="(item, itemIndex) in items"
:key="`item-${itemIndex}`"
class="logos-wrapper__item"
class="partners-logos-wrapper__item"
>
<pix-image :field="item.logos_image" />
</div>
Expand Down Expand Up @@ -48,7 +48,7 @@ export default {
</script>

<style lang="scss">
.logos {
.partners-logos {
margin: 0 16px;
&__title h2 {
Expand All @@ -73,7 +73,7 @@ export default {
}
}
.logos-wrapper {
.partners-logos-wrapper {
&__item {
img {
margin: 0 5px;
Expand All @@ -82,13 +82,13 @@ export default {
}
@include device-is('tablet') {
.logos {
.partners-logos {
margin: 0 32px;
}
}
@include device-is('desktop') {
.logos {
.partners-logos {
&__title h2 {
margin-bottom: 48px;
}
Expand All @@ -98,7 +98,7 @@ export default {
}
}
.logos-wrapper {
.partners-logos-wrapper {
&__item {
img {
margin: 0 8px;
Expand All @@ -108,7 +108,7 @@ export default {
}
@include device-is('large-screen') {
.logos {
.partners-logos {
max-width: 1920px;
&__title h2 {
Expand Down

0 comments on commit 75550d2

Please sign in to comment.