Sass cleanup + "height: auto" for img tags

This commit is contained in:
koenemann 2016-05-19 15:37:29 +02:00
parent 14754a559d
commit 63f8dc860e
3 changed files with 9 additions and 14 deletions

View File

@ -4595,8 +4595,9 @@ a.bg-danger:focus, a.bg-danger:hover {
.entry-footer span {
padding-right: 10px; }
img.wp-post-image, article img, figure {
max-width: 100%; }
img.wp-post-image, article img, figure, img {
max-width: 100%;
height: auto; }
a.skip-link {
z-index: 1000;

2
css/theme.min.css vendored

File diff suppressed because one or more lines are too long

View File

@ -54,8 +54,9 @@ font-size:inherit;
}
//Limit featured image size to 100%
img.wp-post-image, article img, figure {
img.wp-post-image, article img, figure, img {
max-width: 100%;
height: auto;
}
// Skip to content link
@ -166,13 +167,7 @@ right: 0px;
li {
list-style: square;
padding-left: 0px;
a {
}
}
}
.dropdown-menu .menu-item {
@ -181,4 +176,3 @@ right: 0px;
background-color:$brand-primary;
}
}