Skip to content

Commit

Permalink
overlay lightbox buttons over image
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffreybakker committed Aug 5, 2024
1 parent 9e692e2 commit 93aa40b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/app/lightbox/lightbox.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ div.content img.current {
transform: translate(-50%, -50%);

background: rgba(255, 255, 255, 0.1);
pointer-events: none;
}

div.content img.preview {
Expand All @@ -68,6 +69,7 @@ div.content button[mat-icon-button] {
position: absolute;
top: 50%;
transform: translateY(-50%);
z-index: 1;

color: white;
background: rgba(255, 255, 255, 0.05);
Expand Down

0 comments on commit 93aa40b

Please sign in to comment.