flex-direction: row; | flex-direction: row; | ||||
} | } | ||||
.resultsRezept { | |||||
display: flex; | |||||
flex-direction: row; | |||||
width: 100%; | |||||
} | |||||
.resultsRezept li { | |||||
list-style: none; | |||||
padding: 10px 15px; | |||||
display: flex; | |||||
flex-wrap: wrap; | |||||
flex-direction: column; | |||||
} | |||||
.results li { | .results li { | ||||
list-style: none; | list-style: none; | ||||
padding: 10px 15px; | padding: 10px 15px; | ||||
flex-basis: 50%; | flex-basis: 50%; | ||||
font-weight: 300; | font-weight: 300; | ||||
font-style: italic; | font-style: italic; | ||||
white-space: pre-wrap ; | |||||
white-space: pre-wrap; | |||||
text-align: center; | text-align: center; | ||||
flex: auto; | |||||
list-style-type: none; | |||||
} | } | ||||
.rezept .detail h3 h4{ | .rezept .detail h3 h4{ | ||||
text-align: center; | text-align: center; | ||||
} | } | ||||
justify-content: space-between; | justify-content: space-between; | ||||
flex-wrap: wrap; | flex-wrap: wrap; | ||||
align-content: space-around; | align-content: space-around; | ||||
text-align: center; | |||||
align-items: center; | |||||
} | |||||
.kategorie.resultsRezept | |||||
{ | |||||
display: flex; | |||||
flex-wrap: wrap; | |||||
flex-direction: column; | |||||
} | } | ||||
.kategorie h3 { | .kategorie h3 { |
<LinkTo @route="rezepte" class="button">Rezepte bearbeiten</LinkTo> | <LinkTo @route="rezepte" class="button">Rezepte bearbeiten</LinkTo> | ||||
</Jumbo> | </Jumbo> | ||||
<Kategorie @titel={{"Pasta"}}> | |||||
<Kategorie @titel={{"Pasta"}}> | |||||
<div class="rentals"> | <div class="rentals"> | ||||
<ul class="results"> | |||||
<ul class="resultsRezept"> | |||||
{{#each @model as |rezept|}} | {{#each @model as |rezept|}} | ||||
{{#if (compare rezept.kategorie '===' 'Pasta')}} | {{#if (compare rezept.kategorie '===' 'Pasta')}} | ||||
<li><Rezept class="detail" @rezept={{rezept}} /></li> | |||||
<li><Rezept @rezept={{rezept}} /></li> | |||||
{{/if}} | {{/if}} | ||||
{{/each}} | {{/each}} | ||||
</ul> | </ul> |