style: update descriptions style
parent
27e7ed68fb
commit
0283a4c2be
|
@ -29,8 +29,8 @@
|
||||||
|
|
||||||
&-view {
|
&-view {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
overflow: hidden;
|
|
||||||
border-radius: @border-radius-base;
|
border-radius: @border-radius-base;
|
||||||
|
|
||||||
table {
|
table {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
table-layout: fixed;
|
table-layout: fixed;
|
||||||
|
@ -42,6 +42,7 @@
|
||||||
> td {
|
> td {
|
||||||
padding-bottom: @descriptions-item-padding-bottom;
|
padding-bottom: @descriptions-item-padding-bottom;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:last-child {
|
&:last-child {
|
||||||
border-bottom: none;
|
border-bottom: none;
|
||||||
}
|
}
|
||||||
|
@ -126,8 +127,10 @@
|
||||||
&-bordered {
|
&-bordered {
|
||||||
.@{descriptions-prefix-cls}-view {
|
.@{descriptions-prefix-cls}-view {
|
||||||
border: 1px solid @border-color-split;
|
border: 1px solid @border-color-split;
|
||||||
|
|
||||||
> table {
|
> table {
|
||||||
table-layout: auto;
|
table-layout: auto;
|
||||||
|
border-collapse: collapse;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -143,6 +146,7 @@
|
||||||
|
|
||||||
.@{descriptions-prefix-cls}-item-label {
|
.@{descriptions-prefix-cls}-item-label {
|
||||||
background-color: @descriptions-bg;
|
background-color: @descriptions-bg;
|
||||||
|
|
||||||
&::after {
|
&::after {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
@ -150,6 +154,7 @@
|
||||||
|
|
||||||
.@{descriptions-prefix-cls}-row {
|
.@{descriptions-prefix-cls}-row {
|
||||||
border-bottom: 1px solid @border-color-split;
|
border-bottom: 1px solid @border-color-split;
|
||||||
|
|
||||||
&:last-child {
|
&:last-child {
|
||||||
border-bottom: none;
|
border-bottom: none;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
@import '../../style/themes/default';
|
@import '../../style/themes/index';
|
||||||
@import '../../style/mixins/index';
|
@import '../../style/mixins/index';
|
||||||
|
|
||||||
@descriptions-prefix-cls: ~'@{ant-prefix}-descriptions';
|
@descriptions-prefix-cls: ~'@{ant-prefix}-descriptions';
|
||||||
|
|
Loading…
Reference in New Issue