replace @angular/flex-layout in torrent-table.component
Use `class="flex-container"` as in `torrent.component`
This commit is contained in:
parent
d11900a127
commit
8d7552609b
2 changed files with 12 additions and 1 deletions
|
|
@ -64,7 +64,7 @@
|
|||
</tbody>
|
||||
</table>
|
||||
|
||||
<div fxLayout.lt-lg="column" fxLayout.gt-sm="row" fxLayoutGap="20px">
|
||||
<div class="flex-container">
|
||||
<button
|
||||
class="button is-danger"
|
||||
(click)="showDeleteModal()"
|
||||
|
|
|
|||
|
|
@ -3,3 +3,14 @@ table {
|
|||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
|
||||
.flex-container {
|
||||
display: flex;
|
||||
flex: 1 1 0;
|
||||
gap: 20px;
|
||||
flex-direction: row;
|
||||
|
||||
@media screen and (max-width: 1279px) {
|
||||
flex-direction: column;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue