Skip to content

Commit

Permalink
Resolve WP 6.6 CSS regression.
Browse files Browse the repository at this point in the history
  • Loading branch information
sybrew committed Jul 17, 2024
1 parent 003d1a3 commit 5ee3395
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 8 deletions.
2 changes: 1 addition & 1 deletion autodescription.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: The SEO Framework
* Plugin URI: https://theseoframework.com/
* Description: An automated, advanced, accessible, unbranded and extremely fast SEO solution for your WordPress website.
* Version: 5.0.7-dev-13
* Version: 5.0.7-dev-14
* Author: The SEO Framework Team
* Author URI: https://theseoframework.com/
* License: GPLv3
Expand Down
6 changes: 3 additions & 3 deletions lib/css/post.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
}

#tsf-inpost-box:not( .tsf-is-block-editor ) .inside,
.edit-post-sidebar #tsf-inpost-box .inside { /* .edit-post-sidebar is Gutenberg-only */
#edit-post\:document #tsf-inpost-box .inside { /* edit-post\:document is Gutenberg's sidebar */
width: 100%;
padding: 0;
}
Expand All @@ -22,8 +22,8 @@
border: 1px solid #ddd;
}

/* .edit-post-sidebar is Gutenberg-only. .tsf-is-block-editor is used to override specificity */
.edit-post-sidebar .tsf-is-block-editor .tsf-flex-inside-wrap {
/* edit-post\:document is Gutenberg's sidebar; .tsf-is-block-editor is used to override specificity */
#edit-post\:document .tsf-is-block-editor .tsf-flex-inside-wrap {
border: 0;
}

Expand Down
2 changes: 1 addition & 1 deletion lib/css/post.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 0 additions & 3 deletions lib/css/pt.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@
margin-top: 8px;
}

/**
* Primary category selectors.
*/
.tsf-is-primary-term {
font-weight: 600;
}
Expand Down
1 change: 1 addition & 0 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,7 @@ TODO test image type support and warn users about Facebook not supporting webp (
* Resolved an issue where comment pagination queries were only ignored after the main query when the Full Site Editor was present; now, they're always ignored.
* Resolved a regression where the post-saving sequence wasn't properly debounced, causing multiple save-state requests for TSF's meta box that affected the Block Editor's performance performance and caused the SEO settings UI to flicker.
* Awesome Motive's All in One SEO Pack plugin outputs a notice urging to deactivate other SEO plugins, but without clarifying which SEO plugin emits this notice or telling which plugins get deactivated. So, we now hide this deceptive notice.
* Resolved a regression from WordPress 6.6 where a CSS identifier disappeared. We used this identifier to apply styling for the sidebar. We now use a different, more specific identifier that's in all WordPress versions we support; from `.edit-post-sidebar`, now `#edit-post\:document`.

**For developers:**

Expand Down

0 comments on commit 5ee3395

Please sign in to comment.