Converted indentation to spaces globally.
This commit is contained in:
@@ -1,42 +1,42 @@
|
||||
.LP-ImageGrid{
|
||||
|
||||
.LP-ImageGrid__List{
|
||||
list-style-type: none;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, 300px);
|
||||
align-content: space-around;
|
||||
justify-content: center;
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
}
|
||||
.LP-ImageGrid__List{
|
||||
list-style-type: none;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, 300px);
|
||||
align-content: space-around;
|
||||
justify-content: center;
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
}
|
||||
|
||||
.LP-ImageGrid__Item{
|
||||
margin-top:10px;
|
||||
}
|
||||
.LP-ImageGrid__Item{
|
||||
margin-top:10px;
|
||||
}
|
||||
|
||||
.LP-Link{
|
||||
overflow: hidden;
|
||||
}
|
||||
.LP-Link{
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.LP-Image {
|
||||
box-shadow: 0 0 5px $-grey;
|
||||
height: 200px;
|
||||
width: 290px;
|
||||
object-fit: cover;
|
||||
}
|
||||
.LP-Image {
|
||||
box-shadow: 0 0 5px $-grey;
|
||||
height: 200px;
|
||||
width: 290px;
|
||||
object-fit: cover;
|
||||
}
|
||||
}
|
||||
|
||||
@media(max-width: $-viewport-small){
|
||||
.LP-ImageGrid{
|
||||
.LP-ImageGrid__List{
|
||||
grid-template-columns: 1fr;
|
||||
.LP-ImageGrid{
|
||||
.LP-ImageGrid__List{
|
||||
grid-template-columns: 1fr;
|
||||
|
||||
.LP-Image{
|
||||
box-shadow: 0 0 5px $-grey;
|
||||
height: auto;
|
||||
width: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
}
|
||||
}
|
||||
.LP-Image{
|
||||
box-shadow: 0 0 5px $-grey;
|
||||
height: auto;
|
||||
width: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -1,10 +1,10 @@
|
||||
|
||||
<div class="LP-ImageGrid">
|
||||
<ul class="LP-ImageGrid__List">
|
||||
{{#each images}}
|
||||
<li class="LP-ImageGrid__Item">
|
||||
<a href="#" class="LP-Link"><img class="LP-Image" src="{{this}}"></a>
|
||||
</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
<ul class="LP-ImageGrid__List">
|
||||
{{#each images}}
|
||||
<li class="LP-ImageGrid__Item">
|
||||
<a href="#" class="LP-Link"><img class="LP-Image" src="{{this}}"></a>
|
||||
</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
</div>
|
Reference in New Issue
Block a user