Skip to content

Commit

Permalink
Apply nesting inside media query
Browse files Browse the repository at this point in the history
  • Loading branch information
thekid committed Feb 25, 2024
1 parent da59c96 commit 42b26e7
Showing 1 changed file with 23 additions and 23 deletions.
46 changes: 23 additions & 23 deletions src/main/handlebars/layout.handlebars
Original file line number Diff line number Diff line change
Expand Up @@ -685,30 +685,30 @@
margin-left: 0;
margin-right: 0;
max-width: 100%;
}
#lightbox .meta {
grid-template-columns: repeat(3, max-content) 1fr;
transform: scale(1, 1);
gap: 0;
background-color: white;
border: none;
border-radius: 0;
position: unset;
}
#lightbox img {
border: none;
border-radius: 0;
}
#lightbox .meta div:nth-child(2) {
grid-column: span 3;
}
#lightbox .meta div {
border-radius: unset;
background-color: unset;
& .meta {
grid-template-columns: repeat(3, max-content) 1fr;
transform: scale(1, 1);
gap: 0;
background-color: white;
border: none;
border-radius: 0;
position: unset;
}
& img {
border: none;
border-radius: 0;
}
& .meta div:nth-child(2) {
grid-column: span 3;
}
& .meta div {
border-radius: unset;
background-color: unset;
}
}
}
Expand Down

0 comments on commit 42b26e7

Please sign in to comment.