Skip to content

Commit

Permalink
style tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
blurymind committed Sep 13, 2024
1 parent eabfbcb commit 5ecdb82
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/public/web-components.js
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,10 @@ class ResourcesComponent extends HTMLElement {
max-width: 100%;
object-fit: fill;
}
.preview-image:hover .video-view {
max-width: 100%;
object-fit: contain;
}
@media only screen and (max-width: 600px) {
.preview-image:hover .image-view {
max-width: 100%;
Expand All @@ -328,7 +332,6 @@ class ResourcesComponent extends HTMLElement {
.video-view {
pointer-events: auto;
object-fit: contain;
object-fit: contain;
}
.preview-image:hover::after {
position: absolute;
Expand Down

0 comments on commit 5ecdb82

Please sign in to comment.