amis-saas-7665 [Improvement.] 「page页面」当展示区域仅有[内容区] 也展示头部标签

Change-Id: I134fbf5b1e624330c234e8f0064e86fda8add805
This commit is contained in:
jiatianqi 2022-10-24 14:53:12 +08:00
parent 9af60f1820
commit 1cbeff98a4

View File

@ -1208,11 +1208,6 @@
align-items: center;
visibility: hidden;
// 只有一个region时不显示头部标签
&.is-only-child-region {
visibility: hidden !important;
}
button {
cursor: pointer;
display: inline-flex;
@ -1247,6 +1242,11 @@
margin: 0 6px;
}
}
// 区域仅有 [内容区]也展示头部标签
> div.region-tip.is-only-child-region {
top: -19px;
border-radius: 3px 3px 0 0;
}
// 兼容方案避免便签被遮挡
&.region-label-within > .region-tip {