@mirweb/mir-web-components 2.3.4 → 2.3.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,6 @@
1
1
  <template>
2
2
  <section class="accordions">
3
+ <h2 class="accordions__headline" v-if="headline">{{ headline }}</h2>
3
4
  <div class="accordions__wrapper">
4
5
  <div v-for="accordion in accordions" :key="accordion._uid">
5
6
  <div class="accordion">
@@ -55,6 +56,7 @@ import AtomImage from "../../atoms/image/image.vue";
55
56
  import { ref } from "vue";
56
57
 
57
58
  export type Props = {
59
+ headline?: string;
58
60
  accordions: Array<{
59
61
  headline: string;
60
62
  _uid: string;
@@ -106,6 +108,14 @@ const isAccordionActive = (id: string) => {
106
108
  }
107
109
  }
108
110
 
111
+ &__headline {
112
+ margin: 60px 30px -30px 30px;
113
+
114
+ @include md {
115
+ margin: 60px 0 -30px 0;
116
+ }
117
+ }
118
+
109
119
  .accordion {
110
120
  border-bottom: 1px solid $grey-400;
111
121
  transition: $transition-background-color;
@@ -262,7 +262,7 @@ withDefaults(defineProps<Props>(), {
262
262
  :slotted(img) {
263
263
  object-position: center;
264
264
  object-fit: cover;
265
- height: 100%;
265
+ height: 100% !important;
266
266
  }
267
267
  }
268
268
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mirweb/mir-web-components",
3
3
  "private": false,
4
- "version": "2.3.4",
4
+ "version": "2.3.6",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist"