feat: 新增文本框删除按钮功能(还原到)
This commit is contained in:
@@ -17,7 +17,6 @@ html, body {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
height: 100vh;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
/* 顶部工具栏 */
|
||||
@@ -82,10 +81,6 @@ html, body {
|
||||
|
||||
/* 文本编辑器工具栏 */
|
||||
.text-editor-toolbar {
|
||||
position: absolute;
|
||||
top: 49px;
|
||||
left: 0;
|
||||
right: 0;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
@@ -97,7 +92,6 @@ html, body {
|
||||
visibility: hidden;
|
||||
opacity: 0;
|
||||
transition: opacity 0.2s;
|
||||
z-index: 100;
|
||||
}
|
||||
|
||||
.text-editor-toolbar.active {
|
||||
@@ -105,31 +99,6 @@ html, body {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
/* 图片编辑器工具栏 - 与文本编辑器共享位置 */
|
||||
.image-editor-toolbar {
|
||||
position: absolute;
|
||||
top: 49px;
|
||||
left: 0;
|
||||
right: 0;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
padding: 10px 16px;
|
||||
background: #fff;
|
||||
border-bottom: 1px solid #e0e0e0;
|
||||
flex-shrink: 0;
|
||||
visibility: hidden;
|
||||
opacity: 0;
|
||||
transition: opacity 0.2s;
|
||||
z-index: 100;
|
||||
}
|
||||
|
||||
.image-editor-toolbar.active {
|
||||
visibility: visible;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.toolbar-btn {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
|
||||
Reference in New Issue
Block a user