From e5a79a29e8a07bd716fee1b0b3a64a4510eb559e Mon Sep 17 00:00:00 2001 From: Nick Diego Date: Sat, 1 Oct 2022 10:56:57 -0500 Subject: [PATCH] Fix alignment bug. --- src/edit.js | 20 +++++++++++++------- src/save.js | 25 +++++++++++++++---------- 2 files changed, 28 insertions(+), 17 deletions(-) diff --git a/src/edit.js b/src/edit.js index d972e7b..2caf222 100644 --- a/src/edit.js +++ b/src/edit.js @@ -104,19 +104,19 @@ export function Edit( props ) { const { flipHorizontal, flipVertical, - label, - title, - linkRel, - linkTarget, - linkUrl, + hasNoIconFill, icon, iconBackgroundColorValue, iconColorValue, - hasNoIconFill, iconName, itemsJustification, + label, + linkRel, + linkTarget, + linkUrl, percentWidth, rotate, + title, width, } = attributes; const { gradientClass, gradientValue, setGradient } = useGradient(); @@ -558,7 +558,13 @@ export function Edit( props ) { { blockControls } { inspectorControls }