From 5ec3dc0accbd5d66caa0abde249e69d35afc68e8 Mon Sep 17 00:00:00 2001 From: Glandos Date: Thu, 20 Feb 2020 09:43:50 +0100 Subject: 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 --- ihatemoney/static/css/main.css | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'ihatemoney/static/css/main.css') 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 { -- cgit v1.1