SKE-38 display competitions list

This commit is contained in:
Przemysław Stawujak 2018-12-12 01:00:05 +01:00
parent 79dde935f3
commit e1d9fa6ebc
2 changed files with 26 additions and 2 deletions

View File

@ -0,0 +1,22 @@
.flex-container {
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: center;
align-items: center;
}
.flex-item {
background-color: darkgrey;
width: 300px;
margin: 10px;
text-align: center;
line-height: 90px;
font-size: 20px;
border-radius: 25px;
border: 1px solid gray;
color: darkblue;
text-shadow: 2px 2px 6px ghostwhite;
font-weight: bold;
cursor: pointer;
}

View File

@ -1,3 +1,5 @@
<div id="competitions-list-area">
Konkursy
<div class="flex-container" id="competitions-list-area">
<div class="flex-item" *ngFor="let competition of competitionsList">
{{ competition.name }}
</div>
</div>