diff options
author | Dessalines <tyhou13@gmx.com> | 2020-02-06 22:24:23 -0500 |
---|---|---|
committer | Dessalines <tyhou13@gmx.com> | 2020-02-06 22:24:23 -0500 |
commit | c84a2d6b1ecd93073bd093e93626455f2d3e3284 (patch) | |
tree | 929e5744429a016545fd1433cf4af821f732081f /ui/src | |
parent | b7a332ff3cbd3210758a89fa2db1c3d8fbc57547 (diff) |
Fix expanded image height. Fixes #455
Diffstat (limited to 'ui/src')
-rw-r--r-- | ui/src/components/post-listing.tsx | 2 | ||||
-rw-r--r-- | ui/src/utils.ts | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ui/src/components/post-listing.tsx b/ui/src/components/post-listing.tsx index 9b3141c4..f11d9e14 100644 --- a/ui/src/components/post-listing.tsx +++ b/ui/src/components/post-listing.tsx @@ -237,7 +237,7 @@ export class PostListing extends Component<PostListingProps, PostListingState> { class="pointer" onClick={linkEvent(this, this.handleImageExpandClick)} > - <img class="img-fluid" src={post.url} /> + <img class="img-fluid img-expanded" src={post.url} /> </span> </div> </span> diff --git a/ui/src/utils.ts b/ui/src/utils.ts index c53ee76a..9ad0920f 100644 --- a/ui/src/utils.ts +++ b/ui/src/utils.ts @@ -384,7 +384,7 @@ export function showAvatars(): boolean { export function imageThumbnailer(url: string): string { let split = url.split('pictshare'); if (split.length > 1) { - let out = `${split[0]}pictshare/140x140${split[1]}`; + let out = `${split[0]}pictshare/192x192${split[1]}`; return out; } else { return url; |