2
0
mirror of https://github.com/frappe/books.git synced 2024-11-10 07:40:55 +00:00
- Truncate Nav TItle for long text
This commit is contained in:
Faris Ansari 2018-07-15 19:59:52 +05:30
parent ffdce49f89
commit dc08d8bbbc

View File

@ -1,10 +1,12 @@
<template>
<div class="frappe-sidebar col-2 bg-light border-right">
<div class="navbar border-bottom navbar-title" @click="toggleDropdown">
<div class="navbar-text">
{{ title }}
</div>
<feather-icon class="mt-1" name="chevron-down" />
<span class="d-flex align-items-center justify-content-between text-truncate w-100">
<div class="navbar-text text-truncate">
{{ title }}
</div>
<feather-icon style="height: 16px" name="chevron-down" />
</span>
<div :class="['dropdown-menu shadow w-100', showDropdown ? 'show' : '']">
<a
href="#"