+
+
();
- const { height } = useElementSize(templateEl);
-
const regex = /({{.*?}})/g;
const parts = computed(() =>
@@ -122,7 +114,7 @@ export default defineComponent({
.map((p) => p || null)
);
- return { parts, templateEl, height };
+ return { parts, templateEl };
},
});
@@ -135,7 +127,13 @@ export default defineComponent({
max-width: 100%;
height: 100%;
padding-right: 8px;
- line-height: normal;
+
+ .vertical-aligner {
+ display: inline-block;
+ width: 0;
+ height: 100%;
+ vertical-align: middle;
+ }
@include no-wrap;