Themes: set maximum width for overlay view, props matveb, fixes #26507.
Built from https://develop.svn.wordpress.org/trunk@26839 git-svn-id: http://core.svn.wordpress.org/trunk@26726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
4f44dc74b1
commit
d9feeb5b29
|
@ -7116,6 +7116,14 @@ body.folded .theme-overlay .theme-wrap {
|
|||
margin-left: 0;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 1680px) {
|
||||
.theme-overlay .theme-wrap {
|
||||
width: 1450px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
}
|
||||
|
||||
/* Maximum screenshot width reaches 440px */
|
||||
@media only screen and (min-width: 1640px) {
|
||||
.theme-browser .theme {
|
||||
|
@ -7133,11 +7141,6 @@ body.folded .theme-overlay .theme-wrap {
|
|||
.theme-browser .theme:nth-child(4n) {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
body.folded .theme-overlay .theme-wrap {
|
||||
left: 15%;
|
||||
right: 22%;
|
||||
}
|
||||
}
|
||||
/* Maximum screenshot width reaches 440px */
|
||||
@media only screen and (max-width: 1120px) {
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -7116,6 +7116,14 @@ body.folded .theme-overlay .theme-wrap {
|
|||
margin-right: 0;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 1680px) {
|
||||
.theme-overlay .theme-wrap {
|
||||
width: 1450px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
}
|
||||
|
||||
/* Maximum screenshot width reaches 440px */
|
||||
@media only screen and (min-width: 1640px) {
|
||||
.theme-browser .theme {
|
||||
|
@ -7133,11 +7141,6 @@ body.folded .theme-overlay .theme-wrap {
|
|||
.theme-browser .theme:nth-child(4n) {
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
body.folded .theme-overlay .theme-wrap {
|
||||
right: 15%;
|
||||
left: 22%;
|
||||
}
|
||||
}
|
||||
/* Maximum screenshot width reaches 440px */
|
||||
@media only screen and (max-width: 1120px) {
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue