comand-component-library 4.0.69 → 4.0.71

Sign up to get free protection for your applications and to get access to all the features.
@@ -81,7 +81,7 @@
81
81
  </div>
82
82
 
83
83
  <transition-group :name="toggleTransition">
84
- <p
84
+ <div
85
85
  v-if="textBody"
86
86
  :class="{
87
87
  'cutoff-text': cutoffTextLines > 0,
@@ -90,7 +90,7 @@
90
90
  }"
91
91
  v-html='textBody'
92
92
  >
93
- </p>
93
+ </div>
94
94
  <a v-if="cutoffTextLines > 0" href="#" @click.prevent="toggleCutOffText">
95
95
  {{
96
96
  showCutOffText ? getMessage("cmdbox.contentbox.collapse_text") : getMessage("cmdbox.contentbox.expand_text")
@@ -16,7 +16,7 @@
16
16
  />
17
17
  <!-- end cmdImage -->
18
18
 
19
- <div class="flex-container vertical">
19
+ <div class="flex-container vertical" :class="setInnerClass">
20
20
  <!-- begin cmdHeadline -->
21
21
  <CmdHeadline
22
22
  v-if="(cmdHeadline?.headlineText || editModeContext) && (headlinePosition === 'belowImage' || orientation === 'horizontal')"
@@ -25,7 +25,7 @@
25
25
  <!-- end cmdHeadline -->
26
26
 
27
27
  <!-- begin continuous text -->
28
- <div v-if="htmlContent" v-html="htmlContent" :class="setInnerClass"></div>
28
+ <div v-if="htmlContent" v-html="htmlContent"></div>
29
29
  <!-- end continuous text -->
30
30
  </div>
31
31
 
@@ -155,7 +155,7 @@ export default {
155
155
  return ""
156
156
  },
157
157
  setInnerClass() {
158
- return "inner-content-wrapper " + this.textAlign + " " + (this.innerClass || "")
158
+ return "inner-text-wrapper " + this.textAlign + " " + (this.innerClass || "")
159
159
  }
160
160
  },
161
161
  methods: {
@@ -143,15 +143,6 @@ export default {
143
143
  }
144
144
  }
145
145
  return ""
146
- },
147
- setOuterId() {
148
- if (this.innerComponent === "header") {
149
- return "site-header"
150
- }
151
- if (this.innerComponent === "footer") {
152
- return "site-footer"
153
- }
154
- return ""
155
146
  }
156
147
  },
157
148
  methods: {