Skip to content

Commit

Permalink
Remove duplicate views: Fix background image for removed Calypso scre…
Browse files Browse the repository at this point in the history
…en notice (#40983)

* Fix background image for removed Calypso screen notice

* changelog

* Update styling
  • Loading branch information
agrullon95 authored Jan 14, 2025

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 2578d64 commit 84f924b
Showing 4 changed files with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: changed

Update background pattern image
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -8,6 +8,7 @@
display: flex;
align-items: center;
justify-content: center;
background-image: url('https://s0.wp.com/i/welcome-notices/removed-calypso-screen-bg-pattern.png');
}

.removed-calypso-screen-notice__icon {
Original file line number Diff line number Diff line change
@@ -14,7 +14,6 @@ import {
verse,
} from '@wordpress/icons';
import { addQueryArgs } from '@wordpress/url';
import bgPattern from './removed-calypso-screen-bg-pattern.png';

import './removed-calypso-screen-notice.scss';

@@ -65,10 +64,7 @@ const Notice = () => {
{
image: (
<>
<div
className="removed-calypso-screen-notice__image"
style={ { backgroundImage: `url(${ bgPattern })` } }
>
<div className="removed-calypso-screen-notice__image">
<Icon
icon={ icons[ removedCalypsoScreenNoticeConfig.screen ] }
size={ 72 }

0 comments on commit 84f924b

Please sign in to comment.