Update styles

This commit is contained in:
Angelina Filippova 2021-02-10 23:43:36 +03:00
parent 0e5d35fe6c
commit 51de129b54
3 changed files with 9 additions and 3 deletions

View file

@ -19,7 +19,7 @@ $menuHover:#263445;
$subMenuBg:#1f2d3d;
$subMenuHover:#001528;
$sideBarWidth: 180px;
$sideBarWidth: 205px;
// the :export directive is the magic sauce for webpack
:export {

View file

@ -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>

View file

@ -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>