mirror of
https://github.com/spiral-project/ihatemoney.git
synced 2025-04-29 09:52:36 +02:00
fix(Home): correct responsive width of cards (#549)
This commit is contained in:
parent
a8e74c98df
commit
23b7e397f2
1 changed files with 9 additions and 2 deletions
|
@ -150,6 +150,11 @@ body {
|
||||||
margin-bottom: 20px;
|
margin-bottom: 20px;
|
||||||
margin-left: 25px;
|
margin-left: 25px;
|
||||||
}
|
}
|
||||||
|
@media (max-width: 400px) {
|
||||||
|
.home .card {
|
||||||
|
min-width: unset;
|
||||||
|
}
|
||||||
|
}
|
||||||
/* Other */
|
/* Other */
|
||||||
|
|
||||||
#bills {
|
#bills {
|
||||||
|
@ -320,13 +325,15 @@ footer .footer-left {
|
||||||
background: url("../images/see.png") no-repeat right;
|
background: url("../images/see.png") no-repeat right;
|
||||||
}
|
}
|
||||||
|
|
||||||
#bill_table, #monthly_stats {
|
#bill_table,
|
||||||
|
#monthly_stats {
|
||||||
margin-top: 30px;
|
margin-top: 30px;
|
||||||
margin-bottom: 30px;
|
margin-bottom: 30px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (min-width: 768px) {
|
@media (min-width: 768px) {
|
||||||
.split_bills, #table_overflow.statistics {
|
.split_bills,
|
||||||
|
#table_overflow.statistics {
|
||||||
/* The table is shifted to left, so add the spacer width on the right to match */
|
/* The table is shifted to left, so add the spacer width on the right to match */
|
||||||
width: calc(100% + 15px);
|
width: calc(100% + 15px);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue