Background image no-repeat and contain by default

This commit is contained in:
Tony Air 2019-11-08 01:25:50 +07:00
parent 11ac70e631
commit 3d4ceb893e
3 changed files with 15 additions and 1 deletions

9
dist/css/main.css vendored
View File

@ -12876,6 +12876,15 @@ a.text-dark:focus {
* some basic styles
*/
div,
a,
span,
button,
i {
background-repeat: no-repeat;
background-size: contain;
}
iframe,
img {
max-width: 100%;

File diff suppressed because one or more lines are too long

View File

@ -3,6 +3,11 @@
*/
// don't let images be wider than the parent layer
div, a, span, button, i {
background-repeat: no-repeat;
background-size: contain;
}
iframe,
img {
max-width: 100%;