Skip to content

Commit ed6788d

Browse files
style tweaks
1 parent 5475ede commit ed6788d

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

src/components/block-styles-control/editor.scss

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
> .ugb-block-styles__select-control {
3636
grid-column: 1/3;
3737
> .ugb-button-component {
38-
background: white;
38+
background: #fff;
3939
width: 100%;
4040
border: 1px solid #00000070;
4141
padding: 0px 8px;
@@ -71,7 +71,8 @@
7171
}
7272

7373
.ugb-block-styles__new-style-modal {
74-
min-width: max(350px, 35%);
74+
max-width: 350px;
75+
width: 100vw;
7576
}
7677
.ugb-block-styles__new-style-description {
7778
color: #1e1e1e;
@@ -109,10 +110,10 @@
109110
height: 32px;
110111
width: 100%;
111112
align-items: center;
112-
justify-content: space-between;
113+
justify-content: space-between;
113114

114115
&:hover {
115-
color: var(--wp-components-color-foreground,#1e1e1e);
116+
color: var(--wp-components-color-foreground, #1e1e1e);
116117
background: #0000001a;
117118
}
118119
}

src/components/block-styles-control/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import classnames from 'classnames'
1717
/**
1818
* WordPress dependencies
1919
*/
20-
import { sprintf, __ } from '@wordpress/i18n'
20+
import { __ } from '@wordpress/i18n'
2121
import {
2222
BaseControl, Modal,
2323
Dropdown,
@@ -174,7 +174,7 @@ export const BlockStylesControl = props => {
174174
</BaseControl>
175175
{ openProNoticeModal && <Modal
176176
className="ugb-block-styles__new-style-modal"
177-
title={ sprintf( __( '%s Premium Feature', i18n ), __( 'Global Block Styles', i18n ) ) }
177+
title={ __( 'This Is a Premium Feature', i18n ) }
178178
onRequestClose={ () => setOpenProNoticeModal( false ) }
179179
>
180180
<ProControl type="global-block-styles" />

0 commit comments

Comments
 (0)