Skip to content

Commit

Permalink
fix: update the viewport CSS logic to behave the same when the sideba…
Browse files Browse the repository at this point in the history
…r layout is used — fixes issue with a slight overflow when resizing the PL iframe to full and the sidebar layout is used
  • Loading branch information
bolt-bot committed Oct 9, 2018
1 parent 8f1cf35 commit 9a4decf
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@

.pl-c-body--theme-sidebar & {
@media all and (min-width: $pl-bp-med) {
max-width: calc(100vw - #{$pl-sidebar-width} + 14px);
max-width: calc(100vw - #{$pl-sidebar-width});
}
}
}
Expand Down Expand Up @@ -102,7 +102,7 @@

.pl-c-body--theme-sidebar & {
@media all and (min-width: $pl-bp-med) {
max-width: calc(100vw - #{$pl-sidebar-width} + 14px);
max-width: calc(100vw - #{$pl-sidebar-width});
}
}

Expand Down

0 comments on commit 9a4decf

Please sign in to comment.