diff --git a/CHANGELOG.md b/CHANGELOG.md index 6e449b41b..7d58d3f65 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,8 @@ Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] - Update config to mach drupal version. +- [PR-358] (https://github.com/itk-dev/os2loop/pull/358) + Update pdf css to ensure display of all paragraphs ## [1.0.0] diff --git a/README.md b/README.md index e0919708e..352f3de45 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# OS2loop +https://github.com/itk-dev/os2loop/pull/358# OS2loop [![Github](https://img.shields.io/badge/source-os2loop/os2loop-blue?style=flat-square)](https://github.com/os2loop/os2loop) [![Release](https://img.shields.io/github/v/release/os2loop/os2loop?sort=semver&style=flat-square)](https://github.com/os2loop/os2loop/releases) diff --git a/web/profiles/custom/os2loop/themes/os2loop_theme/assets/components/pdf/pdf.scss b/web/profiles/custom/os2loop/themes/os2loop_theme/assets/components/pdf/pdf.scss index fc1eb80d6..497bd4a9c 100644 --- a/web/profiles/custom/os2loop/themes/os2loop_theme/assets/components/pdf/pdf.scss +++ b/web/profiles/custom/os2loop/themes/os2loop_theme/assets/components/pdf/pdf.scss @@ -26,6 +26,8 @@ h6 { font-family: $font-family-base; font-weight: 700; line-height: normal; + display: block; + clear: both; h2, h3 { @@ -98,6 +100,7 @@ footer { img { max-width: 100%; + margin-bottom: 1em; } // Handle step by step. @@ -125,6 +128,11 @@ img { } } +.paragraph { + display: block; + max-width: 100%; +} + .paragraph--type--os2loop-video { padding: 0; }