Skip to content

Instantly share code, notes, and snippets.

@frugan-dev
Last active April 24, 2016 11:35
Show Gist options
  • Save frugan-dev/5a8d9ca2107427600623b38c12be290c to your computer and use it in GitHub Desktop.
Save frugan-dev/5a8d9ca2107427600623b38c12be290c to your computer and use it in GitHub Desktop.
Bootstrap various fixes
.alert {
.fancybox-inner & {
margin-bottom: 0;
}
.media {
margin-top: 0;
//FIXED width:10000px
.media-body {
width: auto;
}
p:last-child {
padding-bottom: 0 !important;
}
}
}
.media {
.media-left,
.media-right {
.thumbnail {
> img {
max-width: none;
}
}
}
}
//http://stackoverflow.com/a/33791838
//http://ss64.com/css/max-width.html
.thumbnail img,
.img-thumbnail {
width: 100%;
max-width: -moz-max-content;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment