Skip to content

Commit

Permalink
Revert "Fix default setting and Block Width position of button block(#34
Browse files Browse the repository at this point in the history
)" (#158)
  • Loading branch information
iRohitSingh authored Jul 18, 2023
1 parent 7afda9e commit 78db457
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion locales/de/LC_MESSAGES/volto.po
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ msgstr "Hintergrundfarbe"
#: components/Blocks/Button/schema
# defaultMessage: Block Width
msgid "Block Width"
msgstr "Block Breite"
msgstr ""

#: components/Breadcrumbs/Breadcrumbs
# defaultMessage: Breadcrumbs
Expand Down
2 changes: 1 addition & 1 deletion locales/volto.pot
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
msgid ""
msgstr ""
"Project-Id-Version: Plone\n"
"POT-Creation-Date: 2023-07-17T11:14:01.375Z\n"
"POT-Creation-Date: 2023-07-11T14:53:29.388Z\n"
"Last-Translator: Plone i18n <[email protected]>\n"
"Language-Team: Plone i18n <[email protected]>\n"
"MIME-Version: 1.0\n"
Expand Down
1 change: 0 additions & 1 deletion news/34.bugfix

This file was deleted.

3 changes: 1 addition & 2 deletions src/components/Blocks/Button/schema.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ export const ButtonStylingSchema = ({ schema, formData, intl }) => {
schema.properties.styles.schema.properties.buttonAlign = {
widget: 'align',
title: intl.formatMessage(messages.BlockWidth),
actions: ['wide', 'center'],
default: 'wide',
actions: ['center', 'wide'],
};

schema.properties.inneralign.actions = ['left', 'center', 'right'];
Expand Down

0 comments on commit 78db457

Please sign in to comment.