Skip to content

Commit

Permalink
add css pagina de programação
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcosatc147 committed Nov 16, 2023
1 parent dc9f180 commit 5836e58
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 20 deletions.
6 changes: 6 additions & 0 deletions src/app/pages/grid/grid.component.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
.padded-cell {
padding-left: 40px;
}
.padded-cell-day {
padding-left: 20px;
}
35 changes: 17 additions & 18 deletions src/app/pages/grid/grid.component.html
Original file line number Diff line number Diff line change
@@ -1,25 +1,24 @@

<div class="grid">
<table>
<div class="text-blue-brand padded-cell-day">
<thead>
<tr>
<th>
Horário
</th>
<th>
Programa
{{ day }}
</th>
</tr>
</thead>
<tbody>
<tr *ngFor="let item of schedule">
<td>
{{ item.time }}
</td>
<td>
{{ item.activity }}
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div>
<table>
<tbody>
<tr *ngFor="let item of schedule">
<td class="padded-cell">
{{ item.time }}
</td>
<td class="padded-cell">
{{ item.activity }}
</td>
</tr>
</tbody>
</table>
</div>
4 changes: 2 additions & 2 deletions src/app/pages/grid/grid.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1201,6 +1201,6 @@ export class GridComponent {
this.schedule = grids[this.day.toUpperCase()].map((program: any) => {

return {time: program.horario, activity: program.nome}
})
}
})
}
}

0 comments on commit 5836e58

Please sign in to comment.