diff --git a/code-block-pro.php b/code-block-pro.php index bd1658f..f10bc93 100644 --- a/code-block-pro.php +++ b/code-block-pro.php @@ -4,7 +4,7 @@ * Description: Code highlighting powered by the VS Code engine * Requires at least: 6.0 * Requires PHP: 7.0 - * Version: 1.6.0 + * Version: 1.7.0 * Author: Kevin Batdorf * License: GPL-2.0-or-later * License URI: https://www.gnu.org/licenses/gpl-2.0.html diff --git a/readme.txt b/readme.txt index c867cad..dc65ce2 100644 --- a/readme.txt +++ b/readme.txt @@ -1,8 +1,8 @@ === Code Block Pro === Contributors: kbat82 -Tags: block, code, syntax, highlighting, snippet +Tags: block, code, syntax, highlighting, snippet, highlighter, JavaScript, php, vs code, editor Tested up to: 6.1 -Stable tag: 1.6.0 +Stable tag: 1.7.0 License: GPL-2.0-or-later License URI: https://www.gnu.org/licenses/gpl-2.0.html @@ -220,6 +220,7 @@ Look under the "Styling" tab and turn on "Clamp Values", which will compute the == Changelog == += 1.7.0 - 2022-11-09 = - Feature: Add line number support = 1.6.0 - 2022-09-09 = diff --git a/src/front/style.css b/src/front/style.css index a5ae4bb..29bd62e 100644 --- a/src/front/style.css +++ b/src/front/style.css @@ -37,7 +37,7 @@ counter-increment: step calc(var(--cbp-line-number-start, 1) - 1); } .wp-block-kevinbatdorf-code-block-pro.cbp-has-line-numbers:not(.code-block-pro-editor) pre code .line::before { - @apply inline-block text-right opacity-30; + @apply inline-block text-right opacity-30 transition-opacity duration-500; margin-right: 12px; content: counter(step); color: var(--cbp-line-number-color, #999); @@ -46,7 +46,7 @@ counter-increment: step; } .wp-block-kevinbatdorf-code-block-pro.cbp-has-line-numbers:not(.code-block-pro-editor) pre code .line:hover::before { - @apply opacity-70 transition-opacity duration-200 + @apply opacity-70; } .wp-block-kevinbatdorf-code-block-pro:not(.code-block-pro-editor) pre * { font-family: inherit;