forked from AkkomaGang/admin-fe
Update styles
This commit is contained in:
parent
0e5d35fe6c
commit
51de129b54
3 changed files with 9 additions and 3 deletions
|
@ -19,7 +19,7 @@ $menuHover:#263445;
|
|||
$subMenuBg:#1f2d3d;
|
||||
$subMenuHover:#001528;
|
||||
|
||||
$sideBarWidth: 180px;
|
||||
$sideBarWidth: 205px;
|
||||
|
||||
// the :export directive is the magic sauce for webpack
|
||||
:export {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<template>
|
||||
<div>
|
||||
<svg-icon :icon-class="icon"/>
|
||||
<svg-icon v-if="icon" :icon-class="icon"/>
|
||||
<span slot="title">{{ title }}</span>
|
||||
<el-badge :value="count" type="primary" class="count-badge" />
|
||||
</div>
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
class="nest-menu" />
|
||||
|
||||
<app-link v-else :to="resolvePath(child.path)" :key="child.name">
|
||||
<el-menu-item :index="resolvePath(child.path)">
|
||||
<el-menu-item :index="resolvePath(child.path)" class="submenu-item">
|
||||
<item
|
||||
v-if="child.meta"
|
||||
:count="showCount(item) ? normalizedReportsCount : null"
|
||||
|
@ -129,3 +129,9 @@ export default {
|
|||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style rel="stylesheet/scss" lang="scss" scoped>
|
||||
.submenu-item {
|
||||
padding-left: 54px !important;
|
||||
}
|
||||
</style>
|
||||
|
|
Loading…
Reference in a new issue