Commit d347d115 authored by 水玉婷's avatar 水玉婷
Browse files

feat:修复css的warning

parent 0cabbce3
...@@ -529,7 +529,7 @@ const getTableScroll = () => { ...@@ -529,7 +529,7 @@ const getTableScroll = () => {
} }
.data-table { .data-table {
th { & th {
white-space: nowrap; white-space: nowrap;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
...@@ -538,7 +538,7 @@ const getTableScroll = () => { ...@@ -538,7 +538,7 @@ const getTableScroll = () => {
vertical-align: middle; vertical-align: middle;
} }
td { & td {
white-space: nowrap; white-space: nowrap;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
...@@ -554,7 +554,7 @@ const getTableScroll = () => { ...@@ -554,7 +554,7 @@ const getTableScroll = () => {
text-align: right; text-align: right;
margin-right: 8px; margin-right: 8px;
span { & span {
color: #5B8AFE; color: #5B8AFE;
font-weight: bold; font-weight: bold;
} }
......
...@@ -1361,7 +1361,7 @@ li { ...@@ -1361,7 +1361,7 @@ li {
border-radius: 6px; border-radius: 6px;
margin: 8px 0; margin: 8px 0;
span { & span {
color: #ff4d4f; color: #ff4d4f;
font-size: 16px; font-size: 16px;
} }
...@@ -1400,15 +1400,15 @@ li { ...@@ -1400,15 +1400,15 @@ li {
font-size: 16px; font-size: 16px;
background-color: @white; background-color: @white;
th, & th,
td { & td {
padding: 8px 12px; padding: 8px 12px;
border: 1px solid @gray-3; border: 1px solid @gray-3;
text-align: left; text-align: left;
line-height: 1.4; line-height: 1.4;
} }
th { & th {
background-color: @blue-light-2; background-color: @blue-light-2;
font-weight: 600; font-weight: 600;
color: @gray-7; color: @gray-7;
...@@ -1461,7 +1461,7 @@ li { ...@@ -1461,7 +1461,7 @@ li {
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
max-width: 100%; max-width: 100%;
th { & th {
background-color: @blue-light-2; background-color: @blue-light-2;
font-weight: 600; font-weight: 600;
color: @gray-7; color: @gray-7;
...@@ -1495,18 +1495,18 @@ li { ...@@ -1495,18 +1495,18 @@ li {
} }
// 对齐方式样式 // 对齐方式样式
th[style*="text-align: center"], & th[style*="text-align: center"],
td[style*="text-align: center"] { & td[style*="text-align: center"] {
text-align: center; text-align: center;
} }
th[style*="text-align: right"], & th[style*="text-align: right"],
td[style*="text-align: right"] { & td[style*="text-align: right"] {
text-align: right; text-align: right;
} }
th[style*="text-align: left"], & th[style*="text-align: left"],
td[style*="text-align: left"] { & td[style*="text-align: left"] {
text-align: left; text-align: left;
} }
} }
...@@ -1592,8 +1592,8 @@ li { ...@@ -1592,8 +1592,8 @@ li {
.data-table { .data-table {
font-size: 16px; font-size: 16px;
th, & th,
td { & td {
padding: 8px 4px; padding: 8px 4px;
height: 30px; height: 30px;
min-width: 60px; min-width: 60px;
...@@ -1692,8 +1692,8 @@ li { ...@@ -1692,8 +1692,8 @@ li {
@media (max-width: 480px) { @media (max-width: 480px) {
:deep(.message-table) { :deep(.message-table) {
.data-table { .data-table {
th, & th,
td { & td {
min-width: 50px; min-width: 50px;
height: 28px; height: 28px;
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment