Adapting to new bem generator

This commit is contained in:
2021-03-09 13:03:22 +01:00
parent 92f3fa7bd5
commit 11891aa5c7
2 changed files with 8 additions and 14 deletions

View File

@@ -4,7 +4,7 @@
* and container height manualy in Stylues. CSS-Variables can unfortunately not be used in this case.
*/
RV-Truncation--fade(background-color=white)
+RV-Block__Modifier--name('fade')
+RV-Block--modifier()
+RV-Element('Content')
&:last-child:after
@@ -20,7 +20,7 @@ RV-Truncation--fade(background-color=white)
z-index 10
RV-Truncation--ellipsis(background-color=white)
+RV-Block__Modifier--name('ellipsis')
+RV-Block--modifier()
+RV-Element('Cutter')
&:after
@@ -74,8 +74,5 @@ RV-Truncation(line-height=1.3em, height=100%, background-color=white)
+RV-Block('RV-Truncation')
RV-Truncation()
+RV-Block__Modifier()
RV-Truncation--fade(--background-color)
+RV-Block__Modifier()
RV-Truncation--ellipsis(--background-color)
RV-Truncation--fade(--background-color)
RV-Truncation--ellipsis(--background-color)