Skip to content

Commit

Permalink
SYL-4182: 2.0 info box fix (#324)
Browse files Browse the repository at this point in the history
Added information about 2.0 in admin panel.


![image](https://github.com/user-attachments/assets/5a214aa2-966d-492e-ae77-77aa6d3d5964)
  • Loading branch information
Wojdylak authored Dec 17, 2024
2 parents 0f0ba4b + 3d52665 commit 4502d41
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
6 changes: 6 additions & 0 deletions config/packages/sylius_ui.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 4 additions & 0 deletions templates/Blocks/_newVersionBox.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
text-align: center;
z-index: 1000;
}
.version-warning .message {
width: 100%;
}
</style>

<div class="ui container version-warning">
Expand Down

0 comments on commit 4502d41

Please sign in to comment.