Skip to content

Commit

Permalink
MWPW-145302: Added 's-size' class for modal, and horizontal paddings …
Browse files Browse the repository at this point in the history
…for section (#2067)

added class s-size for dialog-modal and horizontal paddings for section
  • Loading branch information
mirafedas authored Apr 8, 2024
1 parent efb196e commit c79cabe
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
4 changes: 4 additions & 0 deletions libs/blocks/modal/modal.css
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,10 @@
}

@media (min-width: 1200px) {
.dialog-modal.s-size {
max-width: 650px;
}

.region-selector .content {
column-count: 5;
}
Expand Down
32 changes: 32 additions & 0 deletions libs/blocks/section-metadata/section-metadata.css
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,38 @@
padding: var(--spacing-xxs) 0;
}

.section.xxxl-padding {
padding: var(--spacing-xxxl);
}

.section.xxl-padding {
padding: var(--spacing-xxl);
}

.section.xl-padding {
padding: var(--spacing-xl);
}

.section.l-padding {
padding: var(--spacing-l);
}

.section.m-padding {
padding: var(--spacing-m);
}

.section.s-padding {
padding: var(--spacing-s);
}

.section.xs-padding {
padding: var(--spacing-xs);
}

.section.xxs-padding {
padding: var(--spacing-xxs);
}

.section picture.section-background {
display: block;
position: absolute;
Expand Down

0 comments on commit c79cabe

Please sign in to comment.