Как добавить поле top на второй странице после разрыва страницы в snappy pdf laravel? - PullRequest
1 голос
/ 19 марта 2019

Я использовал page-break-inside: avoid; для разрыва страницы, это прекрасно работает.Но на второй странице сверху нет поля.enter image description here

<div class="section-wrapper keep-together">
            <div class="section-title">
                <p class="title">{{ $section['certification']['title'] }}</p>
                <p class="line"></p>
            </div>
            <div class="content">
                <div class="content-row">
                    <div class="description">
                        <p>{!! $section['certification']['data']['details'] !!}</p>
                    </div>
                </div>
            </div>
        </div>

.section-wrapper {
  position: relative;
  margin-bottom: 3%;
  .section-title {
    .title {
      font-size: 2rem;
      font-weight: 700;
      text-transform: uppercase;
      color: $color-blue;
      padding: 0 80px;
    }
  }
        .desc {
          margin-bottom: 2rem;
          font-weight: 300;
          font-size: 1.5rem;
          text-align: left;
        }
      }
  }
}

Нужно немного полей на второй странице.Я использую Laravel 5.7 и Snappy PDF

...