@tagplus/components 2.0.5 → 2.0.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.
package/package.json CHANGED
@@ -8,7 +8,7 @@
8
8
  "email": "bruno@tagplus.com.br"
9
9
  }
10
10
  ],
11
- "version": "2.0.5",
11
+ "version": "2.0.6",
12
12
  "main": "./dist/tp.common.js",
13
13
  "directories": {
14
14
  "lib": "src/lib"
@@ -45,10 +45,9 @@
45
45
  <em class="fa fa-ellipsis-h tp-close-button" @click="closed = !closed" />
46
46
  </el-col>
47
47
 
48
- <el-col :span="24">
48
+ <el-col :class="'tp-text ' + (closed ? 'tp-vanish' : '' )" :span="24">
49
49
  <div
50
50
  :id="`${_id}-text`"
51
- :class="'tp-text ' + (closed ? 'tp-vanish' : '' )"
52
51
  style="margin:15px; margin-left:0px"
53
52
  v-html="text"
54
53
  />
@@ -194,7 +193,8 @@ export default {
194
193
 
195
194
  .tp-vanish {
196
195
  position: absolute;
197
- height:0;
196
+ max-height:0;
197
+ transform: scale(0);
198
198
  opacity:0;
199
199
  transition: 0s opacity linear;
200
200
  }