Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Banner block edit: layout and full width have the same layout width in edit @Tishasoumya-02
10 changes: 9 additions & 1 deletion frontend/packages/volto-light-theme/src/theme/_layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -301,13 +301,21 @@ External & Mail link removal for all the blocks.
// Excluding the contained (blocks in block) ones
#page-add,
#page-edit {
[class*='block-editor-']:not(.contained) {
[class*='block-editor-']:not(.contained, .block-editor-banner) {
@include layout-container-width();
@include adjustMarginsToEditContainer($layout-container-width);
&.has--block-width--full {
@include adjustEditContainerFullWidth();
}
}

.block-editor-banner {
@include layout-container-width();
@include adjustMarginsToEditContainer($layout-container-width);
&.has--block-width--full {
max-width: var(--layout-container-width);
}
}
}

// Add/Edit views
Expand Down
Loading