Skip to content

Commit

Permalink
add zoom in cursor for image
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcibotari committed Jan 29, 2025
1 parent 4fc711b commit dd327a4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/features/spaces/assets/assets.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@
</div>
} @else if (item.kind === 'FILE' && filePreview(item.type)) {
<img
class="object-contain bg-stripes-gray"
class="object-contain bg-stripes-gray cursor-zoom-in"
width="600"
height="600"
loading="lazy"
Expand Down Expand Up @@ -347,7 +347,7 @@
}
</div>
<mat-paginator class="mat-paginator-sticky"></mat-paginator>
@if (false || fileUploadQueue().length > 0) {
@if (false) {
<div class="file-progress-upload">
<mat-card>
<mat-card-header>
Expand Down
1 change: 1 addition & 0 deletions src/app/features/spaces/assets/assets.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ table {

mat-cell {
&.mat-column-preview {
cursor: zoom-in;
img {
min-width: 115px;
min-height: 115px;
Expand Down

0 comments on commit dd327a4

Please sign in to comment.