comand-component-library 4.0.60 → 4.0.61

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "comand-component-library",
3
- "version": "4.0.60",
3
+ "version": "4.0.61",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "license": "GPL-3.0-only",
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <div class="cmd-container">
2
+ <div class="cmd-container" :class="containerClass">
3
3
  <!-- begin cmd-headline -->
4
4
  <CmdHeadline
5
5
  v-if="cmdHeadline"
@@ -63,6 +63,8 @@ export default {
63
63
  /**
64
64
  * define content-orientation
65
65
  *
66
+ * containerType-property must be set to "flex"
67
+ *
66
68
  * @allowedValues: "vertical", "horizontal"
67
69
  */
68
70
  contentOrientation: {
@@ -105,7 +107,11 @@ export default {
105
107
  htmlClass = "grid-container-create-columns"
106
108
  break
107
109
  case "flex":
108
- htmlClass = "flex-container vertical"
110
+ if(this.contentOrientation === "horizontal") {
111
+ htmlClass = "flex-container"
112
+ } else if(this.contentOrientation === "vertical") {
113
+ htmlClass = "flex-container vertical"
114
+ }
109
115
  break
110
116
  default:
111
117
  htmlClass = null