Skip to content

Commit

Permalink
Remove unused component, increase sidebar z, sync right sidebars
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewtavis committed Sep 25, 2024
1 parent 5667b48 commit 3fa8c35
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 4 deletions.
3 changes: 0 additions & 3 deletions frontend/components/header/HeaderDesktop.vue

This file was deleted.

18 changes: 18 additions & 0 deletions frontend/components/header/HeaderWebsite.vue
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,22 @@
class="w-full"
:location="DropdownLocation.SIDE_MENU"
/>
<DropdownCreate
v-if="userIsSignedIn && devMode.active"
class="w-full"
:location="DropdownLocation.SIDE_MENU"
/>
<DropdownInfo
v-if="devMode.active"
class="w-full"
:location="DropdownLocation.SIDE_MENU"
/>
<DropdownUserOptions
v-if="devMode.active"
class="w-full"
:location="DropdownLocation.SIDE_MENU"
:userIsSignedIn="userIsSignedIn"
/>
</div>
</SidebarRight>
</div>
Expand Down Expand Up @@ -125,6 +141,8 @@ import { DropdownLocation } from "~/types/location";
const devMode = useDevMode();
devMode.check();
const { userIsSignedIn } = useUser();
const aboveMediumBP = useBreakpoint("md");
const aboveLargeBP = useBreakpoint("lg");
Expand Down
2 changes: 1 addition & 1 deletion frontend/components/sidebar/left/SidebarLeft.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
ref="sidebarWrapper"
role="menu"
tabindex="0"
class="elem-shadow-sm focus-brand absolute z-10 block h-full flex-col border-r border-light-section-div bg-light-layer-1 transition-all duration-500 dark:border-dark-section-div dark:bg-dark-layer-1 md:flex"
class="elem-shadow-sm focus-brand absolute z-40 block h-full flex-col border-r border-light-section-div bg-light-layer-1 transition-all duration-500 dark:border-dark-section-div dark:bg-dark-layer-1 md:flex"
:class="{
'w-56': !sidebar.collapsed || sidebar.collapsedSwitch == false,
'w-16': sidebar.collapsed && sidebar.collapsedSwitch == true,
Expand Down

0 comments on commit 3fa8c35

Please sign in to comment.