Skip to content

Commit

Permalink
Make all images responsive.
Browse files Browse the repository at this point in the history
  • Loading branch information
dessalines committed Mar 29, 2018
1 parent a03dbfe commit 53b580f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui/src/app/shared/tools.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import Zooming from 'zooming';
export class Tools {
static zooming = new Zooming({
enableGrab: false,
preloadImage: true,
zIndex: 9001
preloadImage: false,
zIndex: 998
});

static createCookie(name: string, value: any, expireTime: number) {
Expand Down
5 changes: 5 additions & 0 deletions ui/src/app/styles/extras.scss
Original file line number Diff line number Diff line change
Expand Up @@ -190,4 +190,9 @@ ngx-masonry-item, .masonry-column-sizer {
@media (max-width : 480px) {
width: calc(100%);
}
}

img {
max-width: 100%;
height: auto;
}

0 comments on commit 53b580f

Please sign in to comment.