ソースを参照

update border style (#15263)

iamkun 6 年 前
コミット
7d30469fde
2 ファイル変更5 行追加5 行削除
  1. 2 2
      examples/demo-styles/border.scss
  2. 3 3
      examples/docs/zh-CN/border.md

+ 2 - 2
examples/demo-styles/border.scss

@@ -7,10 +7,10 @@
 .demo-border .line div {
   width: 100%;
   height: 0;
-  border: 1px solid #eee;
+  border-top: 1px solid #eee;
 }
 .demo-border .line .dashed {
-  border: 2px dashed #eee;
+  border-top: 2px dashed #eee;
 }
 .demo-shadow {
   height: 100px;

+ 3 - 3
examples/docs/zh-CN/border.md

@@ -59,7 +59,7 @@
 
 ### 边框
 
-我们提供了下几种边框样式,以供选择。
+我们提供了下几种边框样式,以供选择。
 
 <table class="demo-border">
   <tbody>
@@ -87,7 +87,7 @@
 
 ### 圆角
 
-我们提供了下几种圆角样式,以供选择。
+我们提供了下几种圆角样式,以供选择。
 
 <el-row :gutter="12" class="demo-radius">
   <el-col :span="6" :xs="{span: 12}">
@@ -120,7 +120,7 @@
 
 ### 投影
 
-我们提供了下几种投影样式,以供选择。
+我们提供了下几种投影样式,以供选择。
 
 <div 
 class="demo-shadow"