Skip to content

Commit 196e654

Browse files
author
Marco Pereirinha
committed
Update wording for the overwrite global transformations toggle and give a bit of space
1 parent 185f9da commit 196e654

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

src/css/components/_ui.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,7 @@
3838
margin: 0 0 6px;
3939
font-weight: 700;
4040
}
41+
42+
.cloudinary-overwrite-transformations {
43+
padding: 6px 0;
44+
}

src/js/components/featured-image.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,13 @@ let FeaturedTransformationsToggle = ( props ) => {
1212
<>
1313
{ props.modalClass && (
1414
<ToggleControl
15-
label={ __( 'Overwrite Transformations', 'cloudinary' ) }
15+
label={ __(
16+
'Cloudinary overwrite Global Transformations',
17+
'cloudinary'
18+
) }
1619
checked={ props.overwrite_featured_transformations }
1720
onChange={ ( value ) => props.setOverwrite( value ) }
21+
className="cloudinary-overwrite-transformations"
1822
/>
1923
) }
2024
</>

0 commit comments

Comments
 (0)