#44 Text in place teaser is cut of

This commit is contained in:
reverend 2020-12-25 12:39:37 +01:00
parent b97607aa8d
commit f35ca8c818
2 changed files with 39 additions and 25 deletions

View File

@ -49,6 +49,7 @@
color: $-grey; color: $-grey;
order: 3; order: 3;
flex-basis: 100%; flex-basis: 100%;
.LP-Paragraph { .LP-Paragraph {
font-size: 22px; font-size: 22px;
} }
@ -64,6 +65,7 @@
height: 165px; height: 165px;
} }
} }
.LP-PlaceTeaser--extended { .LP-PlaceTeaser--extended {
display: flex; display: flex;
flex-direction: row; flex-direction: row;
@ -81,7 +83,8 @@
align-items: flex-start; align-items: flex-start;
gap: unset; gap: unset;
.LP-Headline, .LP-Paragraph { .LP-Headline,
.LP-Paragraph {
font-size: unset; font-size: unset;
} }
@ -114,6 +117,11 @@
.LP-Paragraph { .LP-Paragraph {
font-size: unset; font-size: unset;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
overflow: hidden;
text-overflow: ellipsis;
} }
} }

View File

@ -923,7 +923,8 @@ body {
justify-content: space-between; justify-content: space-between;
align-items: flex-start; align-items: flex-start;
gap: unset; } gap: unset; }
.LP-PlaceTeaser--extended .LP-PlaceTeaser__Meta .LP-Headline, .LP-PlaceTeaser--extended .LP-PlaceTeaser__Meta .LP-Paragraph { .LP-PlaceTeaser--extended .LP-PlaceTeaser__Meta .LP-Headline,
.LP-PlaceTeaser--extended .LP-PlaceTeaser__Meta .LP-Paragraph {
font-size: unset; } font-size: unset; }
.LP-PlaceTeaser--extended .LP-PlaceTeaser__Meta .LP-PlaceTeaser__Info .LP-Headline { .LP-PlaceTeaser--extended .LP-PlaceTeaser__Meta .LP-PlaceTeaser__Info .LP-Headline {
font-size: 28px; } font-size: 28px; }
@ -941,7 +942,12 @@ body {
overflow: hidden; overflow: hidden;
order: unset; } order: unset; }
.LP-PlaceTeaser--extended .LP-PlaceTeaser__Description .LP-Paragraph { .LP-PlaceTeaser--extended .LP-PlaceTeaser__Description .LP-Paragraph {
font-size: unset; } font-size: unset;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
overflow: hidden;
text-overflow: ellipsis; }
.LP-PlaceTeaser--extended .LP-PlaceTeaser__Image { .LP-PlaceTeaser--extended .LP-PlaceTeaser__Image {
height: 165px; height: 165px;
width: 280px; width: 280px;