diff --git a/ihatemoney/static/css/main.css b/ihatemoney/static/css/main.css index 5964c50a..4c61fbea 100644 --- a/ihatemoney/static/css/main.css +++ b/ihatemoney/static/css/main.css @@ -283,14 +283,6 @@ footer .footer-left { } } -#new-bill { - margin-top: 30px; -} - -#pagination-top { - margin-top: 30px; -} - /* Avoid text color flickering when it loose focus as the modal appears */ .btn-primary[data-toggle="modal"] { color: #fff; @@ -334,6 +326,13 @@ footer .footer-left { flex-basis: auto; } +#bill-toolbar { + position: sticky; + top: 4em; + z-index: 1; + background-color: rgba(255, 255, 255, 0.75); +} + @media (min-width: 768px) { .split_bills, #table_overflow.statistics { diff --git a/ihatemoney/templates/list_bills.html b/ihatemoney/templates/list_bills.html index 5ef22736..dda16f2e 100644 --- a/ihatemoney/templates/list_bills.html +++ b/ihatemoney/templates/list_bills.html @@ -76,9 +76,9 @@ -