Using Scope instead of modifier
This commit is contained in:
@@ -10,7 +10,23 @@
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding-bottom: 10px;
|
||||
padding-bottom: 10px;
|
||||
|
||||
.LP-Paragraph{
|
||||
font-family: $-primary-sans-serif-font;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
margin-top: 5px;
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
|
||||
.LP-Headline{
|
||||
font-family: $-primary-sans-serif-font;
|
||||
color: $-secondary-color;
|
||||
font-size: 1rem;
|
||||
padding: 0px;
|
||||
margin: 0px;
|
||||
}
|
||||
}
|
||||
|
||||
.LP-Place__Description{
|
||||
|
@@ -5,7 +5,7 @@
|
||||
<div class="LP-Place__Meta">
|
||||
<div class="LP-Place__Info">
|
||||
<span class="LP-Place__Title">{{> @headline headline=title modifier='--teaser'}}</span>
|
||||
<span class="LP-Place__Detail" >{{> @paragraph text=location modifier='--detail'}}</span>
|
||||
<span class="LP-Place__Detail" >{{> @paragraph text=location}}</span>
|
||||
</div>
|
||||
<div class="LP-Place__Description">
|
||||
{{> @paragraph text=description}}
|
||||
|
Reference in New Issue
Block a user