mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-05-14 17:05:10 +00:00
update side bar
This commit is contained in:
parent
c7855fba53
commit
4469cf9343
@ -41,7 +41,7 @@ limitations under the License. -->
|
|||||||
<el-icon class="menu-icons" :style="{ marginRight: '12px' }">
|
<el-icon class="menu-icons" :style="{ marginRight: '12px' }">
|
||||||
<Icon size="lg" :iconName="menu.meta.icon" />
|
<Icon size="lg" :iconName="menu.meta.icon" />
|
||||||
</el-icon>
|
</el-icon>
|
||||||
<span :class="isCollapse ? 'collapse' : ''">
|
<span class="title" :class="isCollapse ? 'collapse' : ''">
|
||||||
{{ t(menu.meta.title) }}
|
{{ t(menu.meta.title) }}
|
||||||
</span>
|
</span>
|
||||||
</router-link>
|
</router-link>
|
||||||
@ -57,7 +57,7 @@ limitations under the License. -->
|
|||||||
:to="m.path"
|
:to="m.path"
|
||||||
:exact="m.meta.exact || false"
|
:exact="m.meta.exact || false"
|
||||||
>
|
>
|
||||||
<span>{{ t(m.meta.title) }}</span>
|
<span class="title">{{ t(m.meta.title) }}</span>
|
||||||
</router-link>
|
</router-link>
|
||||||
</el-menu-item>
|
</el-menu-item>
|
||||||
</el-menu-item-group>
|
</el-menu-item-group>
|
||||||
@ -82,7 +82,7 @@ limitations under the License. -->
|
|||||||
:to="menu.children[0].path"
|
:to="menu.children[0].path"
|
||||||
:exact="menu.meta.exact"
|
:exact="menu.meta.exact"
|
||||||
>
|
>
|
||||||
<span>{{ t(menu.meta.title) }}</span>
|
<span class="title">{{ t(menu.meta.title) }}</span>
|
||||||
</router-link>
|
</router-link>
|
||||||
</template>
|
</template>
|
||||||
</el-menu-item>
|
</el-menu-item>
|
||||||
@ -208,4 +208,11 @@ span.collapse {
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
height: 60px;
|
height: 60px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.title {
|
||||||
|
display: inline-block;
|
||||||
|
max-width: 110px;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
Loading…
Reference in New Issue
Block a user