Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release Dec 16 #2426

Merged
merged 5 commits into from
Dec 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

### Bug Fixes

* make captions styles more specific ([#2423](https://github.com/Automattic/newspack-theme/issues/2423)) ([b6f3c5b](https://github.com/Automattic/newspack-theme/commit/b6f3c5b76844171b26b25670571adc9614f77301))
* workaround for block editor crash ([53cd463](https://github.com/Automattic/newspack-theme/commit/53cd4638d9ce269c3158b3aa1b02c3157403568c))

# [2.4.0](https://github.com/Automattic/newspack-theme/compare/v2.3.0...v2.4.0) (2024-12-09)
Expand Down
4 changes: 0 additions & 4 deletions newspack-nelson/sass/theme-description.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,7 @@ Author URI: https://newspack.com
Description: The official theme for Newspack, an all-in-one platform that simplifies publishing and drives audience and revenue right out of the box.
Requires at least: 6.6
Tested up to: 6.7
<<<<<<< HEAD
Version: 2.4.1
=======
Version: 2.3.0
>>>>>>> release
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: newspack-theme
Expand Down
6 changes: 6 additions & 0 deletions newspack-theme/sass/media/_captions.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@ figcaption,
text-align: left;
}

// Override some specific styles coming from WordPress.
:root :where(.wp-block-image figcaption) {
color: var(--newspack-theme-color-text-light);
font-size: var(--newspack-theme-font-size-xs);
}

.has-text-color {
figcaption,
.wp-caption-text {
Expand Down