Add small screen size responsive
This commit is contained in:
parent
38afecced9
commit
0c511442be
@ -2,6 +2,10 @@
|
|||||||
margin: 40px;
|
margin: 40px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.card-container.small {
|
||||||
|
margin: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
.card-container.left.desktop {
|
.card-container.left.desktop {
|
||||||
margin-right: 20px;
|
margin-right: 20px;
|
||||||
}
|
}
|
||||||
@ -17,3 +21,11 @@
|
|||||||
.card-container.right.mobile {
|
.card-container.right.mobile {
|
||||||
margin-top: 20px;
|
margin-top: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.card-container.left.small {
|
||||||
|
margin-bottom: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.card-container.right.small {
|
||||||
|
margin-top: 10px;
|
||||||
|
}
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
<div class="card-container {{ matCardClass }}" ngClass.gt-sm="desktop" ngClass.lt-md="mobile">
|
<div class="card-container {{ matCardClass }}" ngClass.gt-sm="desktop" ngClass.lt-md="mobile"
|
||||||
|
ngClass.xs="small">
|
||||||
|
|
||||||
<mat-card>
|
<mat-card>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user