Browse Source

修改富文本样式

zs 8 tháng trước cách đây
mục cha
commit
54d9ecc8e4
1 tập tin đã thay đổi với 20 bổ sung0 xóa
  1. 20 0
      src/styles/variables.scss

+ 20 - 0
src/styles/variables.scss

@@ -139,3 +139,23 @@ $global-color-595: #595959;
 .el-checkbox__label {
   font-size: 16px !important; /* 设置复选框内部文字的字体大小 */
 }
+
+table {
+  border-collapse: collapse !important;
+  width: 100% !important;
+  text-align: center !important;
+}
+
+table th,
+table td {
+  border: 1px solid #ddd !important;
+  padding: 8px !important;
+}
+
+table tr:nth-child(even) {
+  background-color: #f2f2f2 !important;
+}
+
+table tr:hover {
+  background-color: #ddd !important;
+}