mirror of
https://gitee.com/dromara/go-view.git
synced 2025-02-24 16:22:57 +08:00
perf: 优化工具栏样式
This commit is contained in:
parent
352a97d5c1
commit
55119bee93
@ -19,7 +19,7 @@
|
||||
placement="left"
|
||||
>
|
||||
<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">
|
||||
<template #icon>
|
||||
<n-icon size="22" v-if="isAside">
|
||||
@ -175,6 +175,9 @@ $asideBottom: 70px;
|
||||
transition: height ease 0.4s;
|
||||
.btn-item {
|
||||
margin-bottom: 10px;
|
||||
&:first-of-type {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
@include deep() {
|
||||
.n-button__icon {
|
||||
margin-right: 4px;
|
||||
|
Loading…
Reference in New Issue
Block a user