Skip to content

Commit

Permalink
fix(leadspace-document): increase padding bottom to account for the o…
Browse files Browse the repository at this point in the history
…verlap (#314)

* fix(pdf-viewer): add pdf viewer branch API key check

* fix(pdf-viewer): apply mobile layout changes

* fix(pdf-viewer): fix js lint issue

* fix(leadspace-document): adjust padding bottom to account for the overlap

* fix(pdf-viewer): apply mobile layout changes

* fix(leadspace-document): fix lint issue
  • Loading branch information
proeung authored Aug 11, 2023
1 parent fc2704b commit e783f18
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions blocks/pdf-viewer/pdf-viewer.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
body.document .section.leadspace-container > div:first-child > .leadspace.document {
padding-bottom: var(--spacer-layout-05);
}

.section.pdf-viewer-container > .pdf-viewer-wrapper {
padding-top: 0;
padding-bottom: 0;
Expand Down Expand Up @@ -32,6 +36,10 @@

/** Desktop */
@media screen and (min-width: 1200px) {
body.document .section.leadspace-container > div:first-child > .leadspace.document {
padding-bottom: var(--spacer-layout-07);
}

.section.pdf-viewer-container > .pdf-viewer-wrapper {
width: var(--section-width-desktop);
margin-top: calc(var(--spacer-layout-06) * -1);
Expand Down

0 comments on commit e783f18

Please sign in to comment.