Skip to content

Commit

Permalink
Fix layout bug which occurred when resizing application window in ima…
Browse files Browse the repository at this point in the history
…ge management
  • Loading branch information
tkleinke committed Jan 18, 2021
1 parent ec2d2c0 commit 4dcddb5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/components/image/grid/image-grid.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div class="image-grid">
<div *ngFor="let row of rows"
<div *ngFor="let row of rows" class="image-grid-row"
[style.height.px]="row[0]['calculatedHeight'] + 1 + 25">

<div *ngFor="let cell of row"
Expand Down
5 changes: 5 additions & 0 deletions src/app/components/image/grid/image-grid.scss
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@
pointer-events: auto !important;
}

.image-grid-row {
overflow: visible;
width: max-content;
}

.cell {
position: relative;
user-select: none;
Expand Down

0 comments on commit 4dcddb5

Please sign in to comment.