提交 90c2e373 authored 作者: 钟是志's avatar 钟是志

ant-form-item-label 样式修改

上级 96ace9ad
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
padding: 100px; padding: 100px;
background-color: #fff; background-color: #fff;
} }
//&:div[data-page-formkey]{ //&:div[data-page-formkey]{
// overflow: hidden; // overflow: hidden;
//} //}
...@@ -236,10 +237,6 @@ ...@@ -236,10 +237,6 @@
} }
} }
div[data-cell-component-name] .ant-form-item-label{
line-height: 40px;
}
#mobile_table .am-list-extra { #mobile_table .am-list-extra {
flex-basis: 60%; flex-basis: 60%;
...@@ -287,6 +284,7 @@ ...@@ -287,6 +284,7 @@
.am-list-content { .am-list-content {
white-space: pre-wrap !important; // 禅道30442 white-space: pre-wrap !important; // 禅道30442
} }
.am-list-item .am-list-line .am-list-extra { .am-list-item .am-list-line .am-list-extra {
white-space: normal; white-space: normal;
...@@ -320,31 +318,47 @@ ...@@ -320,31 +318,47 @@
margin-bottom: 20px; margin-bottom: 20px;
font-weight: 600; font-weight: 600;
} }
.stepsInfo{
@media (max-width: 480px) { // 2022年11月24日 姚鑫国说的不要换行. 把这个antd-design的自适应干掉 @media (max-width: 575px) {
:global{ :global { // 2022年11月24日 姚鑫国说的不要换行. 把这个antd-design的自适应干掉
.ant-form-item-label {
line-height: 40px;
}
}
}
.stepsInfo {
@media (max-width: 480px) {
// 2022年11月24日 姚鑫国说的不要换行. 把这个antd-design的自适应干掉
:global {
.ant-steps-horizontal.ant-steps-label-horizontal { .ant-steps-horizontal.ant-steps-label-horizontal {
display: flex; display: flex;
} }
.ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item { .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item {
//display: block; //display: block;
//overflow: visible; //overflow: visible;
} }
.ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item-icon { .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item-icon {
//float: left; //float: left;
//margin-right: 16px; //margin-right: 16px;
} }
.ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item-content { .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item-content {
//display: block; //display: block;
//min-height: 48px; //min-height: 48px;
//overflow: hidden; //overflow: hidden;
} }
.ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item-title { .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item-title {
//line-height: 32px; //line-height: 32px;
} }
.ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item-description { .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item-description {
//padding-bottom: 12px; //padding-bottom: 12px;
} }
.ant-steps-horizontal.ant-steps-label-horizontal > .ant-steps-item > .ant-steps-item-container > .ant-steps-item-tail { .ant-steps-horizontal.ant-steps-label-horizontal > .ant-steps-item > .ant-steps-item-container > .ant-steps-item-tail {
//position: absolute; //position: absolute;
//top: 0; //top: 0;
...@@ -353,22 +367,27 @@ ...@@ -353,22 +367,27 @@
//height: 100%; //height: 100%;
//padding: 38px 0 6px; //padding: 38px 0 6px;
} }
.ant-steps-horizontal.ant-steps-label-horizontal > .ant-steps-item > .ant-steps-item-container > .ant-steps-item-tail::after { .ant-steps-horizontal.ant-steps-label-horizontal > .ant-steps-item > .ant-steps-item-container > .ant-steps-item-tail::after {
//width: 1px; //width: 1px;
//height: 100%; //height: 100%;
} }
.ant-steps-horizontal.ant-steps-label-horizontal > .ant-steps-item:not(:last-child) > .ant-steps-item-container > .ant-steps-item-tail { .ant-steps-horizontal.ant-steps-label-horizontal > .ant-steps-item:not(:last-child) > .ant-steps-item-container > .ant-steps-item-tail {
//display: block; //display: block;
} }
.ant-steps-horizontal.ant-steps-label-horizontal > .ant-steps-item > .ant-steps-item-container > .ant-steps-item-content > .ant-steps-item-title::after { .ant-steps-horizontal.ant-steps-label-horizontal > .ant-steps-item > .ant-steps-item-container > .ant-steps-item-content > .ant-steps-item-title::after {
//display: none; //display: none;
} }
.ant-steps-horizontal.ant-steps-label-horizontal.ant-steps-small .ant-steps-item-container .ant-steps-item-tail { .ant-steps-horizontal.ant-steps-label-horizontal.ant-steps-small .ant-steps-item-container .ant-steps-item-tail {
//position: absolute; //position: absolute;
//top: 0; //top: 0;
//left: 12px; //left: 12px;
//padding: 30px 0 6px; //padding: 30px 0 6px;
} }
.ant-steps-horizontal.ant-steps-label-horizontal.ant-steps-small .ant-steps-item-container .ant-steps-item-title { .ant-steps-horizontal.ant-steps-label-horizontal.ant-steps-small .ant-steps-item-container .ant-steps-item-title {
//line-height: 24px; //line-height: 24px;
} }
...@@ -376,9 +395,11 @@ ...@@ -376,9 +395,11 @@
.ant-steps-navigation > .ant-steps-item { .ant-steps-navigation > .ant-steps-item {
//margin-right: 0 !important; //margin-right: 0 !important;
} }
.ant-steps-navigation > .ant-steps-item::before { .ant-steps-navigation > .ant-steps-item::before {
//display: none; //display: none;
} }
.ant-steps-navigation > .ant-steps-item.ant-steps-item-active::before { .ant-steps-navigation > .ant-steps-item.ant-steps-item-active::before {
top: 57px; top: 57px;
//right: 0; //right: 0;
...@@ -387,6 +408,7 @@ ...@@ -387,6 +408,7 @@
width: 100%; width: 100%;
height: 3px; height: 3px;
} }
.ant-steps-navigation > .ant-steps-item::after { .ant-steps-navigation > .ant-steps-item::after {
position: absolute; position: absolute;
top: 50%; top: 50%;
...@@ -402,6 +424,7 @@ ...@@ -402,6 +424,7 @@
transform: rotate(45deg); transform: rotate(45deg);
content: ''; content: '';
} }
.ant-steps-navigation > .ant-steps-item > .ant-steps-item-container > .ant-steps-item-tail { .ant-steps-navigation > .ant-steps-item > .ant-steps-item-container > .ant-steps-item-tail {
//visibility: hidden; //visibility: hidden;
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论