Skip to content

Commit f1ba592

Browse files
committed
Twenty Ten: Correct the styling of the file block.
This change updates the padding, line height, and text color of the button in the file block, so that the styling is not overriden by the link styles. Props poena, sainathpoojary, mai21, parthvataliya, devtanbir, ankitkumarshah, sabernhardt, shailu25. Fixes #62793. git-svn-id: https://develop.svn.wordpress.org/trunk@59843 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 58527d5 commit f1ba592

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/wp-content/themes/twentyten/blocks.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,12 @@ p.has-drop-cap:not(:focus)::first-letter {
110110
margin: 0 0 0 0.75em;
111111
}
112112

113+
.wp-block-file .wp-block-file__button {
114+
padding: 0.5em 1em;
115+
color: #fff;
116+
line-height: 1.5;
117+
}
118+
113119
/*--------------------------------------------------------------
114120
3.0 Blocks - Formatting
115121
--------------------------------------------------------------*/

0 commit comments

Comments
 (0)