chore: Fixes height issues with seconday sidebar (#5407)
This commit is contained in:
parent
db73d033b7
commit
a680b08251
5 changed files with 23 additions and 15 deletions
|
@ -285,8 +285,6 @@ export default {
|
|||
}
|
||||
|
||||
.secondary-menu .nested.vertical.menu {
|
||||
overflow-y: auto;
|
||||
height: 100%;
|
||||
margin-left: var(--space-small);
|
||||
}
|
||||
</style>
|
||||
|
|
|
@ -245,6 +245,8 @@ export default {
|
|||
@import '~dashboard/assets/scss/woot';
|
||||
|
||||
.secondary-menu {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
background: var(--white);
|
||||
border-right: 1px solid var(--s-50);
|
||||
height: 100%;
|
||||
|
@ -267,7 +269,6 @@ export default {
|
|||
.menu {
|
||||
padding: var(--space-small);
|
||||
overflow-y: auto;
|
||||
height: 94%;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
<header class="header">
|
||||
<div class="table-actions-wrap">
|
||||
<div class="left-aligned-wrap">
|
||||
<woot-sidemenu-icon />
|
||||
<h1 class="page-title">
|
||||
{{ headerTitle }}
|
||||
</h1>
|
||||
|
@ -173,11 +174,13 @@ export default {
|
|||
}
|
||||
|
||||
.search-wrap {
|
||||
width: 400px;
|
||||
max-width: 400px;
|
||||
min-width: 150px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
position: relative;
|
||||
margin-right: var(--space-small);
|
||||
margin-left: var(--space-small);
|
||||
|
||||
.search-icon {
|
||||
position: absolute;
|
||||
|
|
|
@ -6,17 +6,16 @@
|
|||
@open-key-shortcut-modal="toggleKeyShortcutModal"
|
||||
@close-key-shortcut-modal="closeKeyShortcutModal"
|
||||
/>
|
||||
<div v-if="portals.length">
|
||||
<help-center-sidebar
|
||||
:class="sidebarClassName"
|
||||
:header-title="headerTitle"
|
||||
:sub-title="localeName(selectedPortalLocale)"
|
||||
:accessible-menu-items="accessibleMenuItems"
|
||||
:additional-secondary-menu-items="additionalSecondaryMenuItems"
|
||||
@open-popover="openPortalPopover"
|
||||
@open-modal="onClickOpenAddCatogoryModal"
|
||||
/>
|
||||
</div>
|
||||
<help-center-sidebar
|
||||
v-if="portals.length"
|
||||
:class="sidebarClassName"
|
||||
:header-title="headerTitle"
|
||||
:sub-title="localeName(selectedPortalLocale)"
|
||||
:accessible-menu-items="accessibleMenuItems"
|
||||
:additional-secondary-menu-items="additionalSecondaryMenuItems"
|
||||
@open-popover="openPortalPopover"
|
||||
@open-modal="onClickOpenAddCatogoryModal"
|
||||
/>
|
||||
<section class="app-content columns" :class="contentClassName">
|
||||
<router-view />
|
||||
<command-bar />
|
||||
|
|
|
@ -89,6 +89,8 @@ export default {
|
|||
<style scoped lang="scss">
|
||||
@import '~dashboard/assets/scss/woot';
|
||||
.secondary-menu {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
background: var(--white);
|
||||
border-right: 1px solid var(--s-50);
|
||||
height: 100%;
|
||||
|
@ -108,5 +110,10 @@ export default {
|
|||
&:hover {
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
.menu {
|
||||
padding: var(--space-small);
|
||||
overflow-y: auto;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
|
Loading…
Reference in a new issue