]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
chore: fix markdown example with overflowing content (#1410) [ci skip]
authorBener <fanbj@cloudglab.com>
Thu, 25 Jun 2020 15:03:59 +0000 (23:03 +0800)
committerGitHub <noreply@github.com>
Thu, 25 Jun 2020 15:03:59 +0000 (11:03 -0400)
packages/vue/examples/classic/markdown.html
packages/vue/examples/composition/markdown.html

index 45b887827d80801fcaeee4337a6c529c06c8ab7a..3d9126dd33824b6a94bf49c09f7512d141491932 100644 (file)
@@ -37,7 +37,8 @@ html, body, #editor {
 
 textarea, #editor div {
   display: inline-block;
-  width: 49%;
+  overflow: auto;
+  width: 50%;
   height: 100%;
   vertical-align: top;
   -webkit-box-sizing: border-box;
index c851b42af81bcb0145344f94de9c1623738182d8..8c5a54e8d1dc6f4f5c141835b51707b187125722 100644 (file)
@@ -36,7 +36,8 @@ html, body, #editor {
 
 textarea, #editor div {
   display: inline-block;
-  width: 49%;
+  overflow: auto;
+  width: 50%;
   height: 100%;
   vertical-align: top;
   -webkit-box-sizing: border-box;