Skip to content

Commit

Permalink
Fix the experimental add new block button position, compensate the ic… (
Browse files Browse the repository at this point in the history
  • Loading branch information
sneridagh authored Jun 28, 2023
1 parent c3fff2e commit fe38829
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions news/4924.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix the experimental add new block button position, compensate the icon width to center it correctly @sneridagh
4 changes: 3 additions & 1 deletion theme/themes/pastanaga/extras/blocks.less
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,9 @@ body.has-toolbar.has-sidebar-collapsed .ui.wrapper > .ui.inner.block.full {

&.new-add-block {
bottom: -26px;
left: 50%;
left: calc(
50% - 12px
); // This is to compensate the width of the icon and center it correctly
padding: 0 !important;
border: none !important;
background: white !important;
Expand Down

0 comments on commit fe38829

Please sign in to comment.