Update index and nav bar style (#126)
Co-authored-by: AceDataCloud <office@acedata.cloud>
This commit is contained in:
1 parent
d8632ff699
commit
c74d9e5a37
5 files changed
+87
-46
No files matched your search
@@ -4,7 +4,7 @@
|
||||
<logo @click="onHome" />
|
||||
</el-col>
|
||||
<el-col :md="16" :xs="13">
|
||||
<el-menu :default-active="active" mode="horizontal" :ellipsis="false" @select="onSelect">
|
||||
<el-menu :default-active="active" mode="horizontal" class="menu" :ellipsis="true" @select="onSelect">
|
||||
<el-sub-menu :index="1">
|
||||
<template #title>{{ $t('common.nav.products') }}</template>
|
||||
<el-menu-item v-if="site?.features?.chat?.enabled" v-t="'index.title.chat'" index="/chat"></el-menu-item>
|
||||
@@ -156,12 +156,14 @@ $height: 60px;
|
||||
float: right;
|
||||
}
|
||||
|
||||
.el-menu {
|
||||
.el-menu.menu {
|
||||
--el-menu-hover-bg-color: var(--el-bg-color);
|
||||
--el-menu-active-color: var(--el-color-primary);
|
||||
background: none;
|
||||
border: none;
|
||||
height: $height;
|
||||
min-width: 300px;
|
||||
overflow-x: hidden;
|
||||
.el-menu-item {
|
||||
height: $height;
|
||||
color: inherit !important;
|
||||
|
||||
Reference in new issue
Block a user