mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
Bundled Themes: Fix Twenty Fourteen button block line-height.
Change the button block in Twenty Fourteen to use relative instead of fixed line-height. Prevent visual errors with larger font sizes on the front-end. Props nidhidhandhukiya, algorithmsunlocks, mayur8991, sabernhardt. Fixes #58444. git-svn-id: https://develop.svn.wordpress.org/trunk@55932 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
fbef5030f6
commit
96de776ed9
@ -142,7 +142,7 @@ p.has-drop-cap:not(:focus)::first-letter {
|
||||
color: #fff;
|
||||
font-size: 12px;
|
||||
font-weight: 700;
|
||||
line-height: 15px;
|
||||
line-height: 1.25;
|
||||
padding: 10px 30px 11px;
|
||||
text-transform: uppercase;
|
||||
vertical-align: bottom;
|
||||
@ -235,7 +235,7 @@ p.has-drop-cap:not(:focus)::first-letter {
|
||||
.wp-block-button .wp-block-button__link {
|
||||
font-size: 12px;
|
||||
font-weight: 700;
|
||||
line-height: 15px;
|
||||
line-height: 1.25;
|
||||
padding: 10px 30px 11px;
|
||||
text-decoration: none;
|
||||
text-transform: uppercase;
|
||||
|
||||
@ -336,7 +336,7 @@ p.has-drop-cap:not(:focus)::first-letter {
|
||||
color: #fff;
|
||||
font-size: 12px;
|
||||
font-weight: 700;
|
||||
line-height: normal;
|
||||
line-height: 1.25;
|
||||
padding: 10px 30px 11px;
|
||||
text-transform: uppercase;
|
||||
vertical-align: bottom;
|
||||
@ -418,6 +418,7 @@ p.has-drop-cap:not(:focus)::first-letter {
|
||||
.wp-block-button .wp-block-button__link {
|
||||
font-size: 12px;
|
||||
font-weight: 700;
|
||||
line-height: 1.25;
|
||||
padding: 10px 30px 11px;
|
||||
text-transform: uppercase;
|
||||
vertical-align: bottom;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user