diff --git a/config/packages/sylius_ui.yaml b/config/packages/sylius_ui.yaml index 650cf02..c904e0e 100644 --- a/config/packages/sylius_ui.yaml +++ b/config/packages/sylius_ui.yaml @@ -17,9 +17,15 @@ sylius_ui: blocks: info_box: template: "Blocks/_infoBox.html.twig" + priority: 10 + new_version_box: + template: "Blocks/_newVersionBox.html.twig" priority: 0 sylius.admin.layout.topbar_right: blocks: info_box: template: "Blocks/_infoBox.html.twig" + priority: 10 + new_version_box: + template: "Blocks/_newVersionBox.html.twig" priority: 0 diff --git a/templates/Blocks/_newVersionBox.html.twig b/templates/Blocks/_newVersionBox.html.twig index e8e6e90..99a1cd6 100644 --- a/templates/Blocks/_newVersionBox.html.twig +++ b/templates/Blocks/_newVersionBox.html.twig @@ -7,6 +7,10 @@ text-align: center; z-index: 1000; } + + .version-warning .message { + width: 100%; + }