Skip to content
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
2 changes: 1 addition & 1 deletion src/css/common/_switch.scss
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ a.snippet-condition-count {

&:hover {
border-inline-start-color: theme.$accent;
transition: border-left-color 0.6s;
transition: border-inline-start-color 0.6s;

&::before {
border-color: theme.$accent;
Expand Down
2 changes: 1 addition & 1 deletion src/php/settings/class-version-switch.php
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ public static function ajax_refresh_versions(): void {

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