refactor BEM
displayedList__category... zu category__...
This commit is contained in:
1 parent
dd5308b495
commit
d731c46c9c
2 files changed
+4
-4
No files matched your search
@@ -1,6 +1,6 @@
|
||||
.displayedList__categoryName--bold {
|
||||
.category__name--bold {
|
||||
font-weight: bold;
|
||||
}
|
||||
.displayedList__categoryName--big {
|
||||
font-size = 3rem;
|
||||
.category__name--big {
|
||||
font-size : 1.5rem;
|
||||
}
|
||||
@@ -39,7 +39,7 @@
|
||||
<ul class="displayedList">
|
||||
<!-- Es werden erste alle Kategorien erstellt, jede Kategorie muss ein ul in einem li sein um Verschachtelung zu ermöglichen -->
|
||||
<li th:each="category: ${categories}" th:id="${category.id}">
|
||||
<span class="displayedList__categoryName--bold displayedList__categoryName--big" th:text="${category.categoryName}"></span>
|
||||
<span class="category__name--big category__name--bold" th:text="${category.categoryName}"></span>
|
||||
<!-- Items der Kategorie -->
|
||||
<ul>
|
||||
<li th:each="item: ${category.itemsInCategory}" th:id="${item.id}"> <!-- erstellung von einem Item -->
|
||||
|
||||
Reference in new issue
Block a user