forked from github/dataease
style(仪表板): 辅助网格按钮样式修改
This commit is contained in:
parent
2d6d7449a3
commit
742fdf422a
@ -74,7 +74,7 @@
|
|||||||
<el-dropdown-item>
|
<el-dropdown-item>
|
||||||
<span class="icon iconfont icon-icon_dialpad_outlined icon16" />
|
<span class="icon iconfont icon-icon_dialpad_outlined icon16" />
|
||||||
<span class="text14 margin-left8">{{ $t('panel.aided_grid') }}</span>
|
<span class="text14 margin-left8">{{ $t('panel.aided_grid') }}</span>
|
||||||
<el-switch v-model="showGridSwitch" class="margin-left8" size="mini" @change="showGridChange" />
|
<el-switch v-model="showGridSwitch" :class="[{['grid-active']: showGridSwitch},'margin-left8']" size="mini" @change="showGridChange" />
|
||||||
</el-dropdown-item>
|
</el-dropdown-item>
|
||||||
<el-dropdown-item @click.native="openOuterParamsSet">
|
<el-dropdown-item @click.native="openOuterParamsSet">
|
||||||
<span class="icon iconfont icon-icon-quicksetting icon16" />
|
<span class="icon iconfont icon-icon-quicksetting icon16" />
|
||||||
@ -600,10 +600,14 @@ export default {
|
|||||||
::v-deep .el-switch__core::after {
|
::v-deep .el-switch__core::after {
|
||||||
width: 14px;
|
width: 14px;
|
||||||
height: 14px;
|
height: 14px;
|
||||||
margin-top: -1px;
|
margin-top: -1.3px;
|
||||||
margin-bottom: 2px;
|
margin-bottom: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.grid-active ::v-deep .el-switch__core::after {
|
||||||
|
margin-left: -14.5px;
|
||||||
|
}
|
||||||
|
|
||||||
.iconfont-tb {
|
.iconfont-tb {
|
||||||
font-family: "iconfont" !important;
|
font-family: "iconfont" !important;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
|
Loading…
Reference in New Issue
Block a user