diff --git a/client/components/App.vue b/client/components/App.vue index 59b3d77d..630960e9 100644 --- a/client/components/App.vue +++ b/client/components/App.vue @@ -6,31 +6,31 @@ - Картотека + Картотека - Читалка + Читалка - Форум-чат + Форум-чат - Поступления + Поступления - Источники + Источники - Параметры + Параметры - Справка + Справка @@ -82,7 +82,7 @@ class App extends Vue { if (this.uistate.asideBarCollapse) { return '64px'; } else { - return '160px'; + return '170px'; } } @@ -107,10 +107,11 @@ class App extends Vue { get rootRoute() { const m = this.$route.path.match(/^(\/[^\/]*).*$/i); - if (m) - return m[1]; - else - return this.$route.path; + return (m ? m[1] : this.$route.path); + } + + itemTitleClass(path) { + return (this.rootRoute == path ? {'bold-font': true} : {}); } } //----------------------------------------------------------------------------- @@ -124,6 +125,11 @@ class App extends Vue { line-height: 140%; font-weight: bold; } + +.bold-font { + font-weight: bold; +} + .el-container { height: 100%; }