Высота контента с сочетанием justify-content и grid меньше, чем без justify-content - PullRequest
0 голосов
/ 30 сентября 2018

Я делаю сетку из трех столбцов в CSS-сетке и выравниваю по justify-content: space-between, но высота элементов меньше, чем без justify-content.В других браузерах все в порядке.

Это особенность или ошибка?Как мне это сделать?

использовать justify-content: space-between

без justify-content: space-between

Конфигурация:

  • ОС: MacOS Hight Siera
  • Браузер: Google Chrome 69

.container {
    display: grid;
    grid-template-columns: repeat(3, 8em);
    grid-template-rows: auto;
    justify-content: space-between;
  }
<div class="container">
  <div class="items">Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s.</div>
  <div class="items">Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s.</div>
  <div class="items">Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s.</div>
</div>
Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...