mirror of
https://github.com/WordPress/WordPress.git
synced 2024-09-28 15:17:42 +02:00
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%. Backporting this change to the 5.4 branch. Props gma992, karmatosed, ianbelanger. Fixes #37926. Built from https://develop.svn.wordpress.org/branches/5.4@47803 git-svn-id: http://core.svn.wordpress.org/branches/5.4@47579 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
70956be227
commit
c891e8fd21
@ -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;
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '5.4.2-alpha-47791';
|
$wp_version = '5.4.2-alpha-47803';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
Reference in New Issue
Block a user