复用内联选项按钮收口缩放入口

编辑器顶部缩放百分比触发器改为复用 PlatformInlineOptionButton。

保留缩放入口局部尺寸和 hover 视觉覆盖,移除重复混入编辑器图标按钮基础规则。

补充编辑器测试断言共享按钮原语,并更新 TRACKING。
This commit is contained in:
2026-06-14 15:37:27 +08:00
parent d4ceb084c9
commit d70ffa7d30
4 changed files with 17 additions and 7 deletions
+10 -2
View File
@@ -3328,7 +3328,6 @@ html[data-mobile-keyboard-open='true'] .platform-mobile-bottom-dock {
}
.image-canvas-editor__icon-button,
.image-canvas-editor__zoom-trigger,
.image-canvas-editor__floating-toolbar button,
.image-canvas-editor__bottom-toolbar button,
.image-canvas-editor__reset-button {
@@ -3346,7 +3345,6 @@ html[data-mobile-keyboard-open='true'] .platform-mobile-bottom-dock {
}
.image-canvas-editor__icon-button:hover,
.image-canvas-editor__zoom-trigger:hover,
.image-canvas-editor__floating-toolbar button:hover,
.image-canvas-editor__bottom-toolbar button:hover,
.image-canvas-editor__reset-button:hover {
@@ -3712,12 +3710,22 @@ html[data-mobile-keyboard-open='true'] .platform-mobile-bottom-dock {
.image-canvas-editor__zoom-trigger {
min-width: 4.15rem;
height: 2.25rem;
border: 1px solid #d9dee8;
border-radius: 0.45rem;
background: #ffffff;
padding: 0 0.65rem;
color: #334155;
font-size: 0.78rem;
font-weight: 850;
}
.image-canvas-editor__zoom-trigger:hover {
transform: translateY(-1px);
border-color: #8fb8ff;
background: #eef5ff;
color: #1d4ed8;
}
.image-canvas-editor__zoom-menu-item {
min-width: 12rem;
justify-content: flex-start;