Skip to content

Commit 065a445

Browse files
Merge pull request #283 from codesnippetspro/fix/logical-properties
fix: use logical properties
2 parents 5b8d4af + 8259481 commit 065a445

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/css/common/_switch.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ a.snippet-condition-count {
9292

9393
&:hover {
9494
border-inline-start-color: theme.$accent;
95-
transition: border-left-color 0.6s;
95+
transition: border-inline-start-color 0.6s;
9696

9797
&::before {
9898
border-color: theme.$accent;

src/php/settings/class-version-switch.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ public static function ajax_refresh_versions(): void {
348348

349349
public static function render_version_switch_warning(): void {
350350
?>
351-
<div id="version-switch-warning" class="notice notice-warning" style="display: none; margin-top: 20px;">
351+
<div id="version-switch-warning" class="notice notice-warning" style="display: none; margin-block-end: 20px;">
352352
<p>
353353
<strong><?php esc_html_e( 'Warning:', 'code-snippets' ); ?></strong>
354354
<?php esc_html_e( 'Switching versions may cause compatibility issues. Always backup your site before switching versions.', 'code-snippets' ); ?>

0 commit comments

Comments
 (0)