aboutsummaryrefslogtreecommitdiff
path: root/ihatemoney/static/css/main.css
diff options
context:
space:
mode:
authorGlandos <adrien@antipoul.fr>2020-02-20 09:43:50 +0100
committerGitHub <noreply@github.com>2020-02-20 09:43:50 +0100
commit5ec3dc0accbd5d66caa0abde249e69d35afc68e8 (patch)
tree75cfd021d93290e6c7eb9633197237105cabec9a /ihatemoney/static/css/main.css
parent9378694034d6e9040548b9e65ea65769fb8272b7 (diff)
downloadihatemoney-mirror-5ec3dc0accbd5d66caa0abde249e69d35afc68e8.zip
ihatemoney-mirror-5ec3dc0accbd5d66caa0abde249e69d35afc68e8.tar.gz
ihatemoney-mirror-5ec3dc0accbd5d66caa0abde249e69d35afc68e8.tar.bz2
Align tables in statistics (#535)
* Align tables in statistics The table in sidebar is now aligned with the one in content, to avoid redundant informations. All tables are back to normal on small devices. * fix test * run black on tests
Diffstat (limited to 'ihatemoney/static/css/main.css')
-rw-r--r--ihatemoney/static/css/main.css8
1 files changed, 8 insertions, 0 deletions
diff --git a/ihatemoney/static/css/main.css b/ihatemoney/static/css/main.css
index 9c02b28..135a684 100644
--- a/ihatemoney/static/css/main.css
+++ b/ihatemoney/static/css/main.css
@@ -325,6 +325,13 @@ footer .footer-left {
margin-bottom: 30px;
}
+@media (min-width: 768px) {
+ .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);
+ }
+}
+
.project-actions > .delete,
.project-actions > .edit {
font-size: 0px;
@@ -397,6 +404,7 @@ tr.payer_line .balance-name {
.balance.table {
table-layout: fixed;
+ margin-top: 30px;
}
#bill-form > fieldset {