Common CSS: Allow for .nav-tab-wrapper
class to be used on elements other than h3
to increase flexibility for custom settings pages.
Props ramiy, afercia. Fixes #37257. git-svn-id: https://develop.svn.wordpress.org/trunk@38306 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
8673ec7459
commit
f9491ed8f6
@ -2160,7 +2160,7 @@ h3 .nav-tab, /* Back-compat for pre-4.4 */
|
|||||||
|
|
||||||
h1.nav-tab-wrapper, /* Back-compat for pre-4.4 */
|
h1.nav-tab-wrapper, /* Back-compat for pre-4.4 */
|
||||||
.wrap h2.nav-tab-wrapper, /* higher specificity to override .wrap > h2:first-child */
|
.wrap h2.nav-tab-wrapper, /* higher specificity to override .wrap > h2:first-child */
|
||||||
h3.nav-tab-wrapper {
|
.nav-tab-wrapper {
|
||||||
border-bottom: 1px solid #ccc;
|
border-bottom: 1px solid #ccc;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding-top: 9px;
|
padding-top: 9px;
|
||||||
@ -3747,7 +3747,7 @@ img {
|
|||||||
|
|
||||||
h1.nav-tab-wrapper,
|
h1.nav-tab-wrapper,
|
||||||
.wrap h2.nav-tab-wrapper,
|
.wrap h2.nav-tab-wrapper,
|
||||||
h3.nav-tab-wrapper {
|
.nav-tab-wrapper {
|
||||||
border-bottom: 0;
|
border-bottom: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user