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

样式修改

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