[skip ci] Convert img-responsive to img-fluid

This commit is contained in:
Clement Ho 2018-04-10 13:16:26 -05:00
parent 5b0bcd2c93
commit 65c07bdbf0
2 changed files with 2 additions and 2 deletions

View file

@ -44,7 +44,7 @@ export default class SketchLoader {
previewLink.href = previewUrl;
previewLink.target = '_blank';
previewImage.src = previewUrl;
previewImage.className = 'img-responsive';
previewImage.className = 'img-fluid';
previewLink.appendChild(previewImage);
this.container.appendChild(previewLink);

View file

@ -82,7 +82,7 @@ describe('Sketch viewer', () => {
const img = document.querySelector('#js-sketch-viewer img');
expect(img).not.toBeNull();
expect(img.classList.contains('img-responsive')).toBeTruthy();
expect(img.classList.contains('img-fluid')).toBeTruthy();
});
it('renders link to image', () => {