mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
MDL-42195 Bootstrap - put border and vertical-align back in the reset for all images
This commit is contained in:
parent
d175d25adc
commit
86bd7af5be
@ -78,16 +78,18 @@ sub {
|
||||
|
||||
// Backport of syntax from Bootstrap 3.
|
||||
// Images are not responsive by default - you must add img-responsive class to get this behaviour.
|
||||
// MDL-42195 (img changed to img.img-responsive)
|
||||
// MDL-42195 (img changed to img.img-responsive, vertical-align and border split into their own rule.)
|
||||
img.img-responsive {
|
||||
/* Responsive images (ensure images don't scale beyond their parents) */
|
||||
max-width: 100%; /* Part 1: Set a maxium relative to the parent */
|
||||
width: auto\9; /* IE7-8 need help adjusting responsive images */
|
||||
height: auto; /* Part 2: Scale the height according to the width, otherwise you get stretching */
|
||||
|
||||
-ms-interpolation-mode: bicubic;
|
||||
}
|
||||
img {
|
||||
vertical-align: middle;
|
||||
border: 0;
|
||||
-ms-interpolation-mode: bicubic;
|
||||
}
|
||||
|
||||
// Prevent max-width from affecting Google Maps
|
||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user