Skip to content

Commit

Permalink
Stretch mode fix overflow in edit mode
Browse files Browse the repository at this point in the history
  • Loading branch information
andreiggr committed Aug 25, 2021
1 parent 78bb13f commit c723110
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion src/Widgets/range.css
Original file line number Diff line number Diff line change
Expand Up @@ -18,20 +18,30 @@ body:not(.is-authenticated) .stretch {
padding: 0 2rem;
}

/* detect if its in edit mode */
body:not(.view-viewview) .stretch {
padding: 0 5.1rem !important;
}

body:not(.is-anonymous):not(.has-toolbar-collapsed) .stretch {
padding: 0 4.5rem;
}

body:not(.is-anonymous):not(.has-toolbar) .stretch {
padding: 0 2.6rem;
}

@media (min-width: 1700px) {
.stretch {
transform: translate(-50%, 0%);
margin-right: 0 !important;
margin-left: 0 !important;
}

body:not(.view-viewview) .stretch {
transform: translate(-57.5%, 0%);
max-width: 1790px !important;
}

body:not(.is-anonymous):not(.has-toolbar) .stretch {
max-width: 1720px;
}
Expand Down

0 comments on commit c723110

Please sign in to comment.