diff options
| author | Glandos <adrien@antipoul.fr> | 2020-02-20 09:43:50 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-02-20 09:43:50 +0100 |
| commit | 5ec3dc0accbd5d66caa0abde249e69d35afc68e8 (patch) | |
| tree | 75cfd021d93290e6c7eb9633197237105cabec9a /ihatemoney/static | |
| parent | 9378694034d6e9040548b9e65ea65769fb8272b7 (diff) | |
| download | ihatemoney-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')
| -rw-r--r-- | ihatemoney/static/css/main.css | 8 |
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 { |
