.erb-image-wrapper img{
max-width:100% !important;
height:auto;
display:block;
}
Worked for me.
Thanks for MrMisterMan for his assistance.
More Related Contents:
- Browser can’t access/find relative resources like CSS, images and links when calling a Servlet which forwards to a JSP
- Does “display:none” prevent an image from loading?
- CSS force image resize and keep aspect ratio
- Why does the order of media queries matter in CSS?
- Common breakpoints for media queries on a responsive site
- Should I use max-device-width or max-width?
- Is the viewport meta tag really necessary?
- Common CSS Media Queries Break Points [duplicate]
- Drop shadow for PNG image in CSS
- What are the rules for CSS media query overlap?
- Responsive CSS triangle with percents width
- css grid of squares with flexbox
- Bootstrap icons are loaded locally but not when online
- image moves on hover – chrome opacity issue
- Automatically resize images with browser size using CSS
- Customize Bootstrap 4’s grid-system Breakpoints
- How to put an image in div with CSS?
- Which are the most important media queries to use in creating mobile responsive design?
- Symfony2 – Assetic – load images in CSS
- Set div height equal to screen size
- Make table cells square
- How can I avoid media query overlap?
- In a bootstrap responsive page how to center a div
- Bootstrap – Removing padding or margin when screen size is smaller
- Contain an image within a div?
- Firefox blurs an image when scaled through external CSS or inline style.
- Media Queries – Mobile vs Desktop Browser
- How to change Bootstrap navbar collapse breakpoint
- Inner border over images with CSS?
- Image scaling by CSS: is there a webkit alternative for -moz-crisp-edges?