diff --git a/web/typo3conf/ext/ep_events/Resources/Private/Assets/scss/_news.scss b/web/typo3conf/ext/ep_events/Resources/Private/Assets/scss/_news.scss index c2f8ac96..fe0eaa36 100644 --- a/web/typo3conf/ext/ep_events/Resources/Private/Assets/scss/_news.scss +++ b/web/typo3conf/ext/ep_events/Resources/Private/Assets/scss/_news.scss @@ -1,7 +1,7 @@ .news-entry { width: 100%; &:not(:last-child) { - margin-bottom: 20px; + margin-bottom: 40px; } } @@ -13,7 +13,7 @@ display: flex; flex-direction: column; - @include mq($from: tablet) { + @include mq($from: desktop) { flex-direction: row; } } @@ -22,8 +22,8 @@ width: 100%; margin-bottom: 8px; - @include mq($from: tablet) { - width: percentage(1/3); + @include mq($from: desktop) { + width: percentage(1/2); } } @@ -33,15 +33,15 @@ } .news-entry__headline { - margin-top: 0; + hyphens: auto; } .news-entry__teaser { width: 100%; - @include mq($from: tablet) { - padding-left: 16px; - width: percentage(2/3); + @include mq($from: desktop) { + padding-left: 24px; + width: percentage(1/2); } p { diff --git a/web/typo3conf/ext/ep_events/Resources/Private/Partials/News/List/Item.html b/web/typo3conf/ext/ep_events/Resources/Private/Partials/News/List/Item.html index a68da98c..5ffa48e9 100644 --- a/web/typo3conf/ext/ep_events/Resources/Private/Partials/News/List/Item.html +++ b/web/typo3conf/ext/ep_events/Resources/Private/Partials/News/List/Item.html @@ -6,7 +6,7 @@
-

+

{newsItem.title} @@ -18,7 +18,7 @@ @@ -28,7 +28,7 @@