diff --git a/packages/edit-post/src/components/header/fullscreen-mode-close/index.js b/packages/edit-post/src/components/header/fullscreen-mode-close/index.js
index a698ce4994e44..8663128f0e528 100644
--- a/packages/edit-post/src/components/header/fullscreen-mode-close/index.js
+++ b/packages/edit-post/src/components/header/fullscreen-mode-close/index.js
@@ -2,6 +2,7 @@
* External dependencies
*/
import { get } from 'lodash';
+import classnames from 'classnames';
/**
* WordPress dependencies
@@ -59,9 +60,8 @@ function FullscreenModeClose( { showTooltip, icon, href } ) {
const effect = {
expand: {
- scale: 1.7,
- borderRadius: 0,
- transition: { type: 'tween', duration: '0.2' },
+ scale: 1.25,
+ transition: { type: 'tween', duration: '0.3' },
},
};
@@ -85,10 +85,15 @@ function FullscreenModeClose( { showTooltip, icon, href } ) {
buttonIcon = ;
}
+ const classes = classnames( {
+ 'edit-post-fullscreen-mode-close': true,
+ 'has-icon': siteIconUrl,
+ } );
+
return (
;
}
+ const classes = classnames( {
+ 'edit-site-navigation-toggle__button': true,
+ 'has-icon': siteIconUrl,
+ } );
+
return (