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.
Built from https://develop.svn.wordpress.org/trunk@59843


git-svn-id: http://core.svn.wordpress.org/trunk@59185 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
poena 2025-02-20 06:10:23 +00:00
parent a3d2826e61
commit 4d8b360601
2 changed files with 7 additions and 1 deletions

View File

@ -110,6 +110,12 @@ p.has-drop-cap:not(:focus)::first-letter {
margin: 0 0 0 0.75em;
}
.wp-block-file .wp-block-file__button {
padding: 0.5em 1em;
color: #fff;
line-height: 1.5;
}
/*--------------------------------------------------------------
3.0 Blocks - Formatting
--------------------------------------------------------------*/

View File

@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.8-alpha-59842';
$wp_version = '6.8-alpha-59843';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.