Small fixes

This commit is contained in:
reverend 2021-03-10 00:55:04 +01:00
parent ecef5d1e12
commit 212c587f7f
2 changed files with 7 additions and 5 deletions

View File

@ -1,7 +1,7 @@
RV-BreakPoint__Item(localBreakPoint)
RV-BreakPoint__Item()
+RV-Element()
RV-FlexRow__Item()
flex-basis 'calc(%s * 999 - 100% * 999)' % localBreakPoint
flex-basis 'calc(%s * 999 - 100% * 999)' % --localBreakPoint
overflow: hidden;
--outer-spacing 0
--inner-spacing 0
@ -33,7 +33,7 @@ RV-BreakPoint(localBreakPoint)
RV-BreakPoint--horizontal()
+RV-Block--modifier()
flex-wrap nowrap
min-width max-content
min-width min-content
+RV-Element('Item')
+RV-Element--modifier('outside')
@ -54,6 +54,7 @@ RV-BreakPoint--vertical()
+RV-Block('RV-BreakPoint')
RV-CSSParameter({
localBreakPoint: 500px
fixedSize: 100px
})
&&
@ -65,6 +66,7 @@ RV-BreakPoint--vertical()
RV-BreakPoint__Item(--localBreakPoint)
RV-BreakPoint__Item--outside()
RV-BreakPoint__Item--inside()
RV-BreakPoint__Item--fixedSize(--fixedSize)
RV-BreakPoint--horizontal()
RV-BreakPoint--vertical()

View File

@ -13,7 +13,7 @@
<div>Larger</div>
</div>
<div class="RV-BreakPoint__Item RV-Dummy">
<div>ItemItem</div>
<div>Content</div>
</div>
<div class="RV-BreakPoint__Item RV-Dummy">
<div>ItemItem</div>