aboutsummaryrefslogtreecommitdiff
path: root/ihatemoney/static/css/main.css
diff options
context:
space:
mode:
authoreMerzh <brice@bmaron.net>2020-04-05 23:39:50 +0200
committerGitHub <noreply@github.com>2020-04-05 23:39:50 +0200
commit23b7e397f2f9e62b961096daa03b0b04546b4b03 (patch)
tree39b7bc0666b6f008c9040232cdb1d6b937988c36 /ihatemoney/static/css/main.css
parenta8e74c98df44fc7632c036e8e534d93e8fc4de48 (diff)
downloadihatemoney-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.css11
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);
}