Widgets: fix scaling of extra-wide widgets on 480px and 320px devices, fixes #26701 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@26963 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
fc4c73feab
commit
5c1fe4033f
@ -11405,6 +11405,17 @@ li#wp-admin-bar-menu-toggle {
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
float: none;
|
float: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
div.widget {
|
||||||
|
margin: 0 auto 10px !important;
|
||||||
|
max-width: 480px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media screen and (max-width: 320px) {
|
||||||
|
div.widget {
|
||||||
|
max-width: 320px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media only screen and (max-width: 768px) {
|
@media only screen and (max-width: 768px) {
|
||||||
|
Loading…
Reference in New Issue
Block a user