Skip to content

Commit

Permalink
Merge pull request #18 from KevinBatdorf/release/1.2.5
Browse files Browse the repository at this point in the history
Release 1.2.5
  • Loading branch information
KevinBatdorf authored Aug 30, 2022
2 parents 3ce113a + 3020e27 commit 9f17978
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion code-block-pro.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Description: Code highlighting powered by the VS Code engine
* Requires at least: 6.0
* Requires PHP: 7.0
* Version: 1.2.4
* Version: 1.2.5
* Author: Kevin Batdorf
* License: GPL-2.0-or-later
* License URI: https://www.gnu.org/licenses/gpl-2.0.html
Expand Down
5 changes: 4 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Contributors: kbat82
Tags: block, code, syntax, highlighting, snippet
Tested up to: 6.0
Stable tag: 1.2.4
Stable tag: 1.2.5
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Expand Down Expand Up @@ -220,6 +220,9 @@ add_action('wp_enqueue_scripts', function() {

== Changelog ==

= 1.2.5 - 2022-08-30 =
- Fix: Force disable wrapping and overflow for some themes.

= 1.2.4 - 2022-08-30 =
- Fix: Limit alignments to wide and full only.

Expand Down
3 changes: 2 additions & 1 deletion src/front/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
@apply relative;
}
.wp-block-kevinbatdorf-code-block-pro pre {
@apply overflow-auto p-6 text-inherit m-0;
overflow-wrap:normal !important;
@apply overflow-auto p-6 text-inherit m-0 whitespace-pre;
}
.wp-block-kevinbatdorf-code-block-pro pre code {
@apply m-0 p-0 bg-transparent text-inherit text-left;
Expand Down

0 comments on commit 9f17978

Please sign in to comment.