Bundled Themes: Twenty Eleven & Twenty Twelve dropdown category widget exceeds parent div when strings are long enough.
Fixes the width of the category dropdown by limiting the width of `select` items in widgets using `max-width: 100%`. Props gma992, karmatosed. Fixes #37926. git-svn-id: https://develop.svn.wordpress.org/trunk@47801 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
9c3a5d30ab
commit
7edaf9b3e3
@ -1846,6 +1846,9 @@ video {
|
|||||||
.widget a:active {
|
.widget a:active {
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
|
.widget select {
|
||||||
|
max-width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
/* Search Widget */
|
/* Search Widget */
|
||||||
.widget_search form {
|
.widget_search form {
|
||||||
|
@ -1417,6 +1417,9 @@ a.comment-edit-link:hover {
|
|||||||
/* =Widgets
|
/* =Widgets
|
||||||
-------------------------------------------------------------- */
|
-------------------------------------------------------------- */
|
||||||
|
|
||||||
|
.widget select {
|
||||||
|
max-width: 100%;
|
||||||
|
}
|
||||||
.widget-area .widget ul ul {
|
.widget-area .widget ul ul {
|
||||||
margin-left: 12px;
|
margin-left: 12px;
|
||||||
margin-left: 0.857142857rem;
|
margin-left: 0.857142857rem;
|
||||||
|
Loading…
Reference in New Issue
Block a user