Skip to content
Merged
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
4 changes: 2 additions & 2 deletions web-frontend/modules/builder/deviceTypes.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,10 @@ export class SmartphoneDeviceType extends DeviceType {
}

get minWidth() {
return 420
return 500
}

get maxWidth() {
return 420
return 500
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@
}
}

@media (min-width: 421px) and (max-width: 768px) {
@media (min-width: 501px) and (max-width: 768px) {
.column-element--public.column-element--stack-tablet {
grid-template-columns: 1fr;
}
}

@media (max-width: 420px) {
@media (max-width: 500px) {
.column-element--public.column-element--stack-smartphone {
grid-template-columns: 1fr;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,11 +140,11 @@ $bg-color-contrast: var(--page-background-color-contrast, $palette-neutral-100);
padding: 1em;
z-index: $z-index-layout-resize;
overflow-y: auto;
max-width: 420px;
max-width: 500px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
border-radius: 0 6px 6px 0;

@media (min-width: 420px) {
@media (min-width: 500px) {
animation: menu-element-slide-in-left 180ms ease-out;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
}

&.page-builder__preview--smartphone {
max-width: 420px;
max-width: 500px;
}
}

Expand Down
Loading