fix(布局组件amis-saas-7939): 细节完善

Change-Id: I3e8202e4c3ae7c591daeaa3665edaf23a1728dce
This commit is contained in:
wibetter 2022-11-10 00:09:00 +08:00
parent 7fa28160a5
commit 3e917fdd35
2 changed files with 7 additions and 6 deletions

View File

@ -109,6 +109,7 @@
background-color: $default-bg-color;
display: flex;
flex-direction: column;
z-index: 0;
.ant-back-top {
bottom: 96px;
@ -599,11 +600,11 @@
top: 50%;
transform: translate(0, -50%);
> span > svg {
width: 12px;
height: 12px;
> svg {
width: 16px;
height: 16px;
position: absolute;
top: 50%;
top: 50% !important;
left: 50%;
transform: translate(-50%, -50%);
transition: transform ease-out 0.3s;
@ -615,7 +616,7 @@
}
&:hover {
> span > svg {
> svg {
transform: translate(-50%, -50%) rotate(90deg);
}
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.12),

View File

@ -132,7 +132,7 @@ export class LeftPanels extends React.Component<
<div
className={`editor-panel-btn`}
editor-tooltip={isFixedStatus ? '关闭悬浮模式' : '开启悬浮模式'}
tooltip-position="right"
tooltip-position="left"
>
<Icon
icon={isFixedStatus ? 'editor-fixed' : 'editor-no-fixed'}