File tree Expand file tree Collapse file tree 2 files changed +19
-12
lines changed
packages/customize-widgets/src/components/welcome-guide Expand file tree Collapse file tree 2 files changed +19
-12
lines changed Original file line number Diff line number Diff line change @@ -21,18 +21,21 @@ export default function WelcomeGuide( { sidebar } ) {
2121
2222 return (
2323 < div className = "customize-widgets-welcome-guide" >
24- < picture className = "customize-widgets-welcome-guide__image" >
25- < source
26- srcSet = "https://s.w.org/images/block-editor/welcome-editor.svg"
27- media = "(prefers-reduced-motion: reduce)"
28- />
29- < img
30- src = "https://s.w.org/images/block-editor/welcome-editor.gif"
31- width = "312"
32- height = "240"
33- alt = ""
34- />
35- </ picture >
24+ < div className = "customize-widgets-welcome-guide__image__wrapper" >
25+ < picture >
26+ < source
27+ srcSet = "https://s.w.org/images/block-editor/welcome-editor.svg"
28+ media = "(prefers-reduced-motion: reduce)"
29+ />
30+ < img
31+ className = "customize-widgets-welcome-guide__image"
32+ src = "https://s.w.org/images/block-editor/welcome-editor.gif"
33+ width = "312"
34+ height = "240"
35+ alt = ""
36+ />
37+ </ picture >
38+ </ div >
3639 < h1 className = "customize-widgets-welcome-guide__heading" >
3740 { __ ( 'Welcome to block Widgets' ) }
3841 </ h1 >
Original file line number Diff line number Diff line change 55 margin-bottom : $grid-unit-10 ;
66 }
77
8+ & __image {
9+ height : auto ;
10+ }
11+
812 // Extra specificity to override `.wrap h1` styles.
913 .wrap & __heading {
1014 font-size : 18px ;
You can’t perform that action at this time.
0 commit comments