ng-sidebar icon indicating copy to clipboard operation
ng-sidebar copied to clipboard

Overlay sits over the top of the sidebar and content

Open simpleDesignsMitch2019 opened this issue 5 years ago • 1 comments

I followed the guide on the README but still had the issue of the overlay showing up over the top of the sidebar as well as the content.

<ng-sidebar-container>
   <ng-sidebar [(opened)]="_opened" showBackdrop="true" closeOnClickBackdrop="true" mode="push" position="left" sidebarClass="shadow-sm">
   <p>Sidebar contents</p>
   <hr/>
   </ng-sidebar>
   <div ng-sidebar-content>
      <nav class="navbar navbar-expand-lg navbar-dark bg-light" style="background-color: #5186ff !important;">
         <a class="navbar-brand" (click)="_toggleSidebar()">
         <img src="/assets/logo.png" width="70" height="30" alt="Motice"> 
         </a>
         <button class="navbar-toggler" type="button">
         <span class="navbar-toggler-icon"></span>
         </button>
         <div *ngIf="auth.user | async then authrightnav else guestrightnav"></div>
      </nav>
      <router-outlet></router-outlet>
   </div>
</ng-sidebar-container>

simpleDesignsMitch2019 avatar Sep 17 '19 00:09 simpleDesignsMitch2019

@simpleDesignsMitch2019 are you sure the overlay is on top of the sidebar or is it just you side bar doesn't have a background-color?

wi3land avatar Oct 22 '19 15:10 wi3land