diff options
author | Jacob Schatz <jschatz@gitlab.com> | 2016-08-19 15:14:49 +0000 |
---|---|---|
committer | Jacob Schatz <jschatz@gitlab.com> | 2016-08-19 15:14:49 +0000 |
commit | 8d3ef366222423a295fed676bdddd1060071320e (patch) | |
tree | c621fcdc202fd14f6643295e9f58630396c7ad77 /app/models/discussion.rb | |
parent | 1e3743ae0bf94828a32457d8fc8e10b7e25cb888 (diff) | |
parent | 761031c974de2c389ddc589a16776acd0b293030 (diff) | |
download | gitlab-ce-8d3ef366222423a295fed676bdddd1060071320e.tar.gz |
Merge branch 'cs-fix-image-size-in-blob' into 'master'
Fix small image previews in the file viewer.
## What does this MR do?
Fixes image previews being smaller than they should be.
## Are there points in the code the reviewer needs to double check?
I don't think so.
## Why was this MR needed?
Images were hard to view in the files view because they were limited to 50% of the file viewer's width.
## What are the relevant issue numbers?
Mentioned in https://gitlab.com/gitlab-org/gitlab-ce/issues/20505#note_13670085
## Screenshots (if relevant)
Before:
![Screen_Shot_2016-08-08_at_10.35.40_AM](/uploads/69d885d1c8bb6296f5ac61aab4a4bf91/Screen_Shot_2016-08-08_at_10.35.40_AM.png)
After:
![Screen_Shot_2016-08-08_at_10.35.50_AM](/uploads/b78ed41a781228d9f170ed559a1fda25/Screen_Shot_2016-08-08_at_10.35.50_AM.png)
cc: @rymai
See merge request !5721
Diffstat (limited to 'app/models/discussion.rb')
0 files changed, 0 insertions, 0 deletions