perf: 优化工具栏样式
This commit is contained in:
parent
352a97d5c1
commit
55119bee93
@ -19,7 +19,7 @@
|
|||||||
placement="left"
|
placement="left"
|
||||||
>
|
>
|
||||||
<template #trigger>
|
<template #trigger>
|
||||||
<div class="btn-item" :class="[btnList.length - 1 === index && 'go-mt-0']">
|
<div class="btn-item">
|
||||||
<n-button v-if="item.type === TypeEnum.BUTTON" :circle="isAside" secondary @click="item.handle">
|
<n-button v-if="item.type === TypeEnum.BUTTON" :circle="isAside" secondary @click="item.handle">
|
||||||
<template #icon>
|
<template #icon>
|
||||||
<n-icon size="22" v-if="isAside">
|
<n-icon size="22" v-if="isAside">
|
||||||
@ -175,6 +175,9 @@ $asideBottom: 70px;
|
|||||||
transition: height ease 0.4s;
|
transition: height ease 0.4s;
|
||||||
.btn-item {
|
.btn-item {
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
|
&:first-of-type {
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
@include deep() {
|
@include deep() {
|
||||||
.n-button__icon {
|
.n-button__icon {
|
||||||
margin-right: 4px;
|
margin-right: 4px;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user