diff options
| author | eMerzh <brice@bmaron.net> | 2020-04-05 23:39:50 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-04-05 23:39:50 +0200 |
| commit | 23b7e397f2f9e62b961096daa03b0b04546b4b03 (patch) | |
| tree | 39b7bc0666b6f008c9040232cdb1d6b937988c36 /ihatemoney/static/css/main.css | |
| parent | a8e74c98df44fc7632c036e8e534d93e8fc4de48 (diff) | |
| download | ihatemoney-mirror-23b7e397f2f9e62b961096daa03b0b04546b4b03.zip ihatemoney-mirror-23b7e397f2f9e62b961096daa03b0b04546b4b03.tar.gz ihatemoney-mirror-23b7e397f2f9e62b961096daa03b0b04546b4b03.tar.bz2 | |
fix(Home): correct responsive width of cards (#549)
Diffstat (limited to 'ihatemoney/static/css/main.css')
| -rw-r--r-- | ihatemoney/static/css/main.css | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/ihatemoney/static/css/main.css b/ihatemoney/static/css/main.css index a646b17..32c267e 100644 --- a/ihatemoney/static/css/main.css +++ b/ihatemoney/static/css/main.css @@ -150,6 +150,11 @@ body { margin-bottom: 20px; margin-left: 25px; } +@media (max-width: 400px) { + .home .card { + min-width: unset; + } +} /* Other */ #bills { @@ -320,13 +325,15 @@ footer .footer-left { background: url("../images/see.png") no-repeat right; } -#bill_table, #monthly_stats { +#bill_table, +#monthly_stats { margin-top: 30px; margin-bottom: 30px; } @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 */ width: calc(100% + 15px); } |
