Skip to content
This repository has been archived by the owner on Oct 31, 2024. It is now read-only.

Commit

Permalink
fix(default-theme): mega menu appearance (#731)
Browse files Browse the repository at this point in the history
  • Loading branch information
Michal-Dziedzinski authored May 12, 2020
1 parent 1b67a0b commit dfb4200
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion packages/default-theme/components/SwTopNavigation.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<div class="top-navigation">
<SfOverlay :visible="!!currentCategoryName" />
<SfOverlay :visible="!!currentCategoryName" class="sw-overlay"/>
<SfTopBar class="top-bar desktop-only">
<template #right>
<SwCurrency class="sf-header__currency" />
Expand All @@ -14,6 +14,7 @@
</SfTopBar>
<SfHeader
title="Shopware-PWA"
class="sw-header"
:has-mobile-search="false"
:is-sticky="false"
:cart-items-qty="count.toString()"
Expand Down Expand Up @@ -184,6 +185,9 @@ export default {
--header-container-padding: 0 var(--spacer-base);
--header-navigation-item-margin: 0 1rem 0 0;
margin-bottom: var(--spacer-sm);
.sw-overlay {
--overlay-z-index: 1;
}
.sf-header {
// padding: 0 var(--spacer-sm);
&__currency {
Expand Down Expand Up @@ -240,6 +244,8 @@ export default {
height: 2rem;
}
.sw-header {
z-index: 2;
background-color: #fff;
&__icons {
display: flex;
}
Expand Down

1 comment on commit dfb4200

@vercel
Copy link

@vercel vercel bot commented on dfb4200 May 12, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.