Skip to content

Commit

Permalink
fix(sidepanel): use box-shadow only for floating variant (#55)
Browse files Browse the repository at this point in the history
  • Loading branch information
snoopy-cat authored and GitHub Enterprise committed Sep 28, 2020
1 parent 758cee4 commit 4feb209
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { Subscription } from 'rxjs';
templateUrl: './sidepanel-floating-example.html'
})
export class SidepanelFloatingExampleComponent {
opened: boolean = true;
opened: boolean = false;
isGreaterThanSmall: boolean = true;

viewportServiceSubscription: Subscription;
Expand Down
2 changes: 1 addition & 1 deletion projects/ng-aquila/src/sidepanel/sidepanel.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
:host {
display: block;
@include var(background, sidepanel-background-color);
@include var(box-shadow, sidepanel-floating-shadow);

&.is-floating {
position: fixed;
right: 0;
z-index: 1;
@include var(box-shadow, sidepanel-floating-shadow);

[dir="rtl"] & {
right: auto;
Expand Down

0 comments on commit 4feb209

Please sign in to comment.