Skip to content

Commit

Permalink
fix: add inline css for Otter notice
Browse files Browse the repository at this point in the history
  • Loading branch information
HardeepAsrani committed Oct 3, 2024
1 parent 116a035 commit 4fc448a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/class-blocks-animation.php
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ public function render_welcome_notice() {
$notice_html .= '<button type="button" class="notice-dismiss"><span class="screen-reader-text">Dismiss this notice.</span></button>';
$notice_html .= '<div class="notice-content">';

$notice_html .= '<img class="otter-preview" src="' . esc_url( BLOCKS_ANIMATION_URL . '/assets/images/welcome-notice.png' ) . '" alt="' . esc_attr__( 'Otter Blocks preview', 'otter-blocks' ) . '"/>';
$notice_html .= '<img class="otter-preview" style="max-height: 300px;" src="' . esc_url( BLOCKS_ANIMATION_URL . '/assets/images/welcome-notice.png' ) . '" alt="' . esc_attr__( 'Otter Blocks preview', 'otter-blocks' ) . '"/>';

$notice_html .= '<div class="notice-copy">';

Expand Down

0 comments on commit 4fc448a

Please sign in to comment.