Skip to content

Commit a7b4121

Browse files
committed
fix: Remove the default height of 200(#20)
1 parent 860124b commit a7b4121

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

packages/src/components/index.vue

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ const ready = () => {
193193
unseenLineMarkers();
194194
195195
// prevents funky dynamic rendering
196-
resize(props.width, props.height || 200);
196+
resize(props.width, props.height);
197197
emit("ready", cminstance.value as Editor);
198198
watch(
199199
[() => props.width, () => props.height],
@@ -261,5 +261,3 @@ defineExpose({
261261
destroy,
262262
});
263263
</script>
264-
265-
<style scoped lang="less"></style>

0 commit comments

Comments
 (0)