【issues/8709】LayoutContent样式多出1px

pull/8723/merge
JEECG 2025-08-19 14:04:22 +08:00
parent c2aff84914
commit 92ed296e63
3 changed files with 14 additions and 7 deletions

View File

@ -141,10 +141,11 @@
.@{prefix-cls} { .@{prefix-cls} {
transition: width 0.2s; transition: width 0.2s;
flex: 0 0 auto; flex: 0 0 auto;
// update-begin--author:liaozhiyang---date:20250818---forissues/8709LayoutContent1px
&--dark { // &--dark {
margin-left: -1px; // margin-left: -1px;
} // }
// update-end--author:liaozhiyang---date:20250818---forissues/8709LayoutContent1px
&--fixed { &--fixed {
position: fixed; position: fixed;

View File

@ -7,7 +7,9 @@
display: flex; display: flex;
height: @header-height; height: @header-height;
padding: 0; padding: 0;
margin-left: -1px; // update-begin--author:liaozhiyang---date:20250818---for【issues/8709】LayoutContent样式多出1px
// margin-left: -1px;
// update-end--author:liaozhiyang---date:20250818---for【issues/8709】LayoutContent样式多出1px
line-height: @header-height; line-height: @header-height;
color: @white; color: @white;
background-color: @white; background-color: @white;
@ -170,7 +172,9 @@
&--dark { &--dark {
background-color: @header-dark-bg-color !important; background-color: @header-dark-bg-color !important;
// border-bottom: 1px solid @border-color-base; // border-bottom: 1px solid @border-color-base;
border-left: 1px solid @border-color-base; // update-begin--author:liaozhiyang---date:20250818---for【issues/8709】LayoutContent样式多出1px
// border-left: 1px solid @border-color-base;
// update-end--author:liaozhiyang---date:20250818---for【issues/8709】LayoutContent样式多出1px
.@{header-prefix-cls}-logo { .@{header-prefix-cls}-logo {
&:hover { &:hover {

View File

@ -86,7 +86,9 @@
&-main { &-main {
width: 100%; width: 100%;
margin-left: 1px; // update-begin--author:liaozhiyang---date:20250818---forissues/8709LayoutContent1px
// margin-left: 1px;
// update-end--author:liaozhiyang---date:20250818---forissues/8709LayoutContent1px
} }
} }
</style> </style>