Honsely, I don't know what happened here
This commit is contained in:
@@ -20,6 +20,7 @@ RV-FlexGrid--masonry(item-height=300px,item-width=300px)
|
||||
|
||||
+RV-Element('Item')
|
||||
display inline-block
|
||||
width 100%
|
||||
height unset
|
||||
margin-bottom: var(--inner-spacing);
|
||||
& > * {
|
||||
@@ -63,29 +64,28 @@ RV-FlexGrid(item-height, item-width)
|
||||
display grid
|
||||
|
||||
grid-template-columns: repeat(auto-fill, var(--item-width));
|
||||
|
||||
|
||||
+RV-Block('RV-FlexGrid')
|
||||
RV-CSSParameter({
|
||||
item-height: 300px,
|
||||
item-width: 300px
|
||||
})
|
||||
RV-FlexGrid(item-height, item-width)
|
||||
RV-FlexGrid(--item-height, --item-width)
|
||||
|
||||
+RV-Element()
|
||||
RV-FlexGrid__Item(item-height, item-width)
|
||||
RV-FlexGrid__Item(--item-height, --item-width)
|
||||
|
||||
+RV-Block__Modifier()
|
||||
RV-FlexGrid--autoWidth(item-height, item-width)
|
||||
RV-FlexGrid--autoWidth(--item-height, --item-width)
|
||||
|
||||
+RV-Block__Modifier()
|
||||
RV-FlexGrid--fixedSize(item-height, item-width)
|
||||
RV-FlexGrid--fixedSize(--item-height, --item-width)
|
||||
|
||||
+RV-Block__Modifier()
|
||||
RV-FlexGrid--masonry(item-height,item-width)
|
||||
RV-FlexGrid--masonry(--item-height, --item-width)
|
||||
|
||||
+RV-Block__Modifier()
|
||||
RV-FlexGrid--verticalMasonry(item-height,item-width)
|
||||
RV-FlexGrid--verticalMasonry(--item-height, --item-width)
|
||||
|
||||
+RV-Block__Modifier()
|
||||
RV-FlexGrid--horizontalMasonry(item-height,item-width)
|
||||
RV-FlexGrid--horizontalMasonry(--item-height, --item-width)
|
||||
@@ -1,3 +1,33 @@
|
||||
<div class="RV-FlexGrid RV-FlexGrid{{modifier}}">
|
||||
<div class="RV-FlexGrid__Item RV-Dummy">
|
||||
<div class="RV-Dummy__Landscape"></div>
|
||||
</div>
|
||||
<div class="RV-FlexGrid__Item RV-Dummy">
|
||||
<div class="RV-Dummy__Landscape"></div>
|
||||
</div>
|
||||
<div class="RV-FlexGrid__Item RV-Dummy">
|
||||
<div class="RV-Dummy__Landscape"></div>
|
||||
</div>
|
||||
<div class="RV-FlexGrid__Item RV-Dummy">
|
||||
<div class="RV-Dummy__Portrait"></div>
|
||||
</div>
|
||||
<div class="RV-FlexGrid__Item RV-Dummy">
|
||||
<div class="RV-Dummy__Portrait"></div>
|
||||
</div>
|
||||
<div class="RV-FlexGrid__Item RV-Dummy">
|
||||
<div class="RV-Dummy__Landscape"></div>
|
||||
</div>
|
||||
<div class="RV-FlexGrid__Item RV-Dummy">
|
||||
<div class="RV-Dummy__Landscape"></div>
|
||||
</div>
|
||||
<div class="RV-FlexGrid__Item RV-Dummy">
|
||||
<div class="RV-Dummy__Landscape"></div>
|
||||
</div>
|
||||
<div class="RV-FlexGrid__Item RV-Dummy">
|
||||
<div class="RV-Dummy__Portrait"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="RV-FlexGrid RV-FlexGrid{{modifier}} RV-Spacing__Inner--medium">
|
||||
<div class="RV-FlexGrid__Item RV-BoxShadow RV-BoxShadow--{{item-shadow}} RV-Spacing__Inner--medium">
|
||||
<div class="RV-ContentCrop">
|
||||
|
||||
Reference in New Issue
Block a user