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

样式修改

上级 dd230195
...@@ -54,7 +54,7 @@ export default class Detail extends Component { ...@@ -54,7 +54,7 @@ export default class Detail extends Component {
if (event.data && event.data.indexOf && event.data.indexOf('iframeDetailHeight') > -1) { if (event.data && event.data.indexOf && event.data.indexOf('iframeDetailHeight') > -1) {
const height = Number(event.data.split('-')[1]); const height = Number(event.data.split('-')[1]);
// console.log(height); // console.log(height);
document.getElementById('detailIframeId').height = height + 100; document.getElementById('detailIframeId').height = height + 50;
setTimeout(() => { setTimeout(() => {
let d = document.getElementsByClassName('ant-layout-content'); let d = document.getElementsByClassName('ant-layout-content');
if(d && d.length){ if(d && d.length){
......
@import '~antd/lib/style/themes/default.less'; //@import '~antd/lib/style/themes/default.less';
.pageHeader { .pageHeader {
background: #fff; background: #fff;
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
:global { :global {
.ant-tabs-bar { .ant-tabs-bar {
border-bottom: @border-width-base @border-style-base @border-color-split; border-bottom: 1px solid hsv(0, 0, 91%);
} }
} }
} }
...@@ -50,7 +50,7 @@ ...@@ -50,7 +50,7 @@
> img { > img {
width: 28px; width: 28px;
height: 28px; height: 28px;
border-radius: @border-radius-base; border-radius: 4px;
display: block; display: block;
} }
} }
...@@ -58,7 +58,7 @@ ...@@ -58,7 +58,7 @@
.title { .title {
font-size: 20px; font-size: 20px;
font-weight: 500; font-weight: 500;
color: @heading-color; color: fade(#000, 85%);
} }
.action { .action {
...@@ -114,7 +114,7 @@ ...@@ -114,7 +114,7 @@
} }
} }
@media screen and (max-width: @screen-xl) { @media screen and (max-width: 1200px) {
.pageHeader { .pageHeader {
.extraContent { .extraContent {
margin-left: 44px; margin-left: 44px;
...@@ -122,7 +122,7 @@ ...@@ -122,7 +122,7 @@
} }
} }
@media screen and (max-width: @screen-lg) { @media screen and (max-width: 992px) {
.pageHeader { .pageHeader {
.extraContent { .extraContent {
margin-left: 20px; margin-left: 20px;
...@@ -130,7 +130,7 @@ ...@@ -130,7 +130,7 @@
} }
} }
@media screen and (max-width: @screen-md) { @media screen and (max-width: 768px) {
.pageHeader { .pageHeader {
.row { .row {
display: block; display: block;
...@@ -144,7 +144,7 @@ ...@@ -144,7 +144,7 @@
} }
} }
@media screen and (max-width: @screen-sm) { @media screen and (max-width: 576px) {
.pageHeader { .pageHeader {
.detail { .detail {
display: block; display: block;
...@@ -152,20 +152,20 @@ ...@@ -152,20 +152,20 @@
} }
} }
@media screen and (max-width: @screen-xs) { @media screen and (max-width: 480px) {
.pageHeader { .pageHeader {
.action { //.action {
:global { // :global {
.ant-btn-group, // .ant-btn-group,
.ant-btn { // .ant-btn {
display: block; // display: block;
margin-bottom: 8px; // margin-bottom: 8px;
} // }
.ant-btn-group > .ant-btn { // .ant-btn-group > .ant-btn {
display: inline-block; // display: inline-block;
margin-bottom: 0; // margin-bottom: 0;
} // }
} // }
} //}
} }
} }
@import '~antd/lib/style/themes/default.less';
.content { .content {
//margin-top: 20px; //margin-top: 20px;
} }
@media screen and (max-width: @screen-sm) { @media screen and (max-width: 576px) {
.content { .content {
margin: 0 24px 0; margin: 0 24px 0;
} }
......
@import '~antd/lib/style/themes/default.less'; //@import '~antd/lib/style/themes/default.less';
.standardTable { .standardTable {
:global { :global {
......
@import '~antd/lib/style/themes/default.less'; //@import '~antd/lib/style/themes/default.less';
@import './utils.less'; @import './utils.less';
.clearfix { .clearfix {
width: 110px; width: 110px;
...@@ -62,13 +62,13 @@ ...@@ -62,13 +62,13 @@
} }
} }
@media screen and (max-width: @screen-lg) { @media screen and (max-width: 992px) {
.tableListForm :global(.ant-form-item) { .tableListForm :global(.ant-form-item) {
margin-right: 24px; margin-right: 24px;
} }
} }
@media screen and (max-width: @screen-md) { @media screen and (max-width: 768px) {
.tableListForm :global(.ant-form-item) { .tableListForm :global(.ant-form-item) {
margin-right: 8px; margin-right: 8px;
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论