소스 검색

chore: fix markdown example with overflowing content (#1410) [ci skip]

Bener 5 년 전
부모
커밋
81849d760b
2개의 변경된 파일4개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 1
      packages/vue/examples/classic/markdown.html
  2. 2 1
      packages/vue/examples/composition/markdown.html

+ 2 - 1
packages/vue/examples/classic/markdown.html

@@ -37,7 +37,8 @@ html, body, #editor {
 
 
 textarea, #editor div {
 textarea, #editor div {
   display: inline-block;
   display: inline-block;
-  width: 49%;
+  overflow: auto;
+  width: 50%;
   height: 100%;
   height: 100%;
   vertical-align: top;
   vertical-align: top;
   -webkit-box-sizing: border-box;
   -webkit-box-sizing: border-box;

+ 2 - 1
packages/vue/examples/composition/markdown.html

@@ -36,7 +36,8 @@ html, body, #editor {
 
 
 textarea, #editor div {
 textarea, #editor div {
   display: inline-block;
   display: inline-block;
-  width: 49%;
+  overflow: auto;
+  width: 50%;
   height: 100%;
   height: 100%;
   vertical-align: top;
   vertical-align: top;
   -webkit-box-sizing: border-box;
   -webkit-box-sizing: border-box;