[skip ci] Convert img-responsive to img-fluid
This commit is contained in:
parent
5b0bcd2c93
commit
65c07bdbf0
2 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
|
@ -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', () => {
|
||||
|
|
Loading…
Reference in a new issue