mirror of
https://github.com/pipipi-pikachu/PPTist.git
synced 2025-04-15 02:20:00 +08:00
perf: 插入/工具栏优化
This commit is contained in:
parent
a4c1b39f22
commit
8d34751196
@ -251,12 +251,6 @@ const openSraechPanel = () => {
|
|||||||
|
|
||||||
.handler-item {
|
.handler-item {
|
||||||
width: 32px;
|
width: 32px;
|
||||||
height: 24px;
|
|
||||||
display: flex;
|
|
||||||
justify-content: center;
|
|
||||||
align-items: center;
|
|
||||||
margin: 0 2px;
|
|
||||||
border-radius: $borderRadius;
|
|
||||||
|
|
||||||
&:not(.group-btn):hover {
|
&:not(.group-btn):hover {
|
||||||
background-color: #f1f1f1;
|
background-color: #f1f1f1;
|
||||||
@ -303,8 +297,13 @@ const openSraechPanel = () => {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
.handler-item {
|
.handler-item {
|
||||||
margin: 0 10px;
|
height: 24px;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
|
margin: 0 2px;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
border-radius: $borderRadius;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
|
||||||
@ -312,6 +311,15 @@ const openSraechPanel = () => {
|
|||||||
opacity: .5;
|
opacity: .5;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.left-handler, .right-handler {
|
||||||
|
.handler-item {
|
||||||
|
padding: 0 8px;
|
||||||
|
|
||||||
|
&:not(.disable):hover {
|
||||||
|
background-color: #f1f1f1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
.right-handler {
|
.right-handler {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
@ -352,9 +360,6 @@ const openSraechPanel = () => {
|
|||||||
.text {
|
.text {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
.handler-item {
|
|
||||||
margin: 0 5px;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@media screen and (width <= 1000px) {
|
@media screen and (width <= 1000px) {
|
||||||
.left-handler, .right-handler {
|
.left-handler, .right-handler {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user