style: 修复右侧属性配置面板内层tabs切换抖动问题

Change-Id: I351a74bdd54f1d749e2ab69934f3cf09fd0b72f9
This commit is contained in:
wibetter 2022-06-24 15:28:33 +08:00
parent 5e1e343bd5
commit f843f17c2e
2 changed files with 8 additions and 12 deletions

View File

@ -308,13 +308,17 @@ $category-2-height: px2rem(32px);
height: 100%;
width: 100%;
text-align: center;
padding: 0 !important;
padding: 2px 0 0 0 !important;
font-family: PingFangSC-Regular;
color: #84868c;
width: 100%;
font-size: 14px;
letter-spacing: 0;
font-weight: 400;
text-decoration: none;
border: none !important;
border-bottom: 2px solid #fff !important;
box-sizing: border-box;
display: flex !important;
justify-content: center !important;
align-items: center !important;
@ -322,16 +326,7 @@ $category-2-height: px2rem(32px);
&.is-active > a {
color: $Editor-theme-color !important;
font-family: PingFangSC-Regular;
font-size: 14px;
color: #84868c;
letter-spacing: 0;
font-weight: 400;
display: flex;
justify-content: center;
align-items: center;
border-bottom: 2px solid $editor-active-color !important;
}
&:not(:last-child):after {

View File

@ -1,8 +1,9 @@
.ae-event-control {
font-size: #{px2rem(12px)};
padding-top: #{px2rem(56px)};
&-header {
position: fixed;
position: absolute;
top: #{px2rem(45px)};
width: 100%;
padding: #{px2rem(12px)};