#44 Text in place teaser is cut of
This commit is contained in:
parent
b97607aa8d
commit
f35ca8c818
@ -1,18 +1,18 @@
|
|||||||
.LP-PlaceTeaser{
|
.LP-PlaceTeaser {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
||||||
.LP-PlaceTeaser__Image{
|
.LP-PlaceTeaser__Image {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
|
||||||
.LP-Image{
|
.LP-Image {
|
||||||
max-width:unset;
|
max-width: unset;
|
||||||
max-height:unset;
|
max-height: unset;
|
||||||
object-fit: cover;
|
object-fit: cover;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.LP-PlaceTeaser__Meta{
|
.LP-PlaceTeaser__Meta {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
gap: $-spacing-small;
|
gap: $-spacing-small;
|
||||||
@ -21,8 +21,8 @@
|
|||||||
padding: 5px;
|
padding: 5px;
|
||||||
padding-bottom: 10px;
|
padding-bottom: 10px;
|
||||||
padding-top: 10px;
|
padding-top: 10px;
|
||||||
|
|
||||||
.LP-Paragraph{
|
.LP-Paragraph {
|
||||||
font-family: $-primary-sans-serif-font;
|
font-family: $-primary-sans-serif-font;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
@ -30,7 +30,7 @@
|
|||||||
font-size: 1.3rem;
|
font-size: 1.3rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.LP-Headline{
|
.LP-Headline {
|
||||||
font-family: $-primary-sans-serif-font;
|
font-family: $-primary-sans-serif-font;
|
||||||
color: $-grey;
|
color: $-grey;
|
||||||
font-size: 2rem;
|
font-size: 2rem;
|
||||||
@ -44,18 +44,19 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.LP-PlaceTeaser__Description{
|
.LP-PlaceTeaser__Description {
|
||||||
font-family: $-primary-sans-serif-font;
|
font-family: $-primary-sans-serif-font;
|
||||||
color: $-grey;
|
color: $-grey;
|
||||||
order: 3;
|
order: 3;
|
||||||
flex-basis: 100%;
|
flex-basis: 100%;
|
||||||
|
|
||||||
.LP-Paragraph {
|
.LP-Paragraph {
|
||||||
font-size: 22px;
|
font-size: 22px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media(min-width: $-viewport-small){
|
@media(min-width: $-viewport-small) {
|
||||||
.LP-PlaceTeaser {
|
.LP-PlaceTeaser {
|
||||||
width: 280px;
|
width: 280px;
|
||||||
|
|
||||||
@ -64,14 +65,15 @@
|
|||||||
height: 165px;
|
height: 165px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.LP-PlaceTeaser--extended{
|
|
||||||
|
.LP-PlaceTeaser--extended {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
width: auto;
|
width: auto;
|
||||||
padding-right: 25px;
|
padding-right: 25px;
|
||||||
height: 165px;
|
height: 165px;
|
||||||
|
|
||||||
.LP-PlaceTeaser__Meta{
|
.LP-PlaceTeaser__Meta {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding-left: 25px;
|
padding-left: 25px;
|
||||||
display: flex;
|
display: flex;
|
||||||
@ -81,20 +83,21 @@
|
|||||||
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;
|
||||||
}
|
}
|
||||||
|
|
||||||
.LP-PlaceTeaser__Info{
|
.LP-PlaceTeaser__Info {
|
||||||
.LP-Headline{
|
.LP-Headline {
|
||||||
font-size: 28px;
|
font-size: 28px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.LP-PlaceTeaser__Icons{
|
.LP-PlaceTeaser__Icons {
|
||||||
margin-top: auto;
|
margin-top: auto;
|
||||||
|
|
||||||
ul{
|
ul {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
@ -106,7 +109,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.LP-PlaceTeaser__Description{
|
.LP-PlaceTeaser__Description {
|
||||||
display: block;
|
display: block;
|
||||||
max-height: 55px;
|
max-height: 55px;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
@ -114,15 +117,20 @@
|
|||||||
|
|
||||||
.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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.LP-PlaceTeaser__Image{
|
.LP-PlaceTeaser__Image {
|
||||||
height:165px;
|
height: 165px;
|
||||||
width: 280px;
|
width: 280px;
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
flex-grow: 0;
|
flex-grow: 0;
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user