Skip to content

Commit

Permalink
small variant
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgefilipecosta committed Jun 3, 2024
1 parent 98d1727 commit 34b1b2d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
8 changes: 7 additions & 1 deletion packages/editor/src/components/post-actions/actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -765,7 +765,13 @@ function ReorderModal( { items, closeModal, onActionPerformed } ) {

return (
<form onSubmit={ onReorder }>
<VStack spacing="5" style={ { maxWidth: 350 } }>
<VStack
spacing="5"
style={ {
// editor styles are not loaded in dataviews so we use an inline style here.
maxWidth: 384 - 32 - 32 - 6 - 6,
} }
>
<div>
{ __(
'This attribute determines the order of pages in the Pages List block.'
Expand Down
4 changes: 4 additions & 0 deletions packages/editor/src/components/post-actions/style.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
.editor-action-modal {
z-index: z-index(".editor-action-modal");
}

.editor-action-modal__reorder-pages .components-modal__frame {
max-width: $modal-width-small;
}

0 comments on commit 34b1b2d

Please sign in to comment.