Improve budget display on mobile

Stack sidebar
Hide filter/insert grid rows
This commit is contained in:
Yingtong Li 2020-01-19 00:02:11 +11:00
parent 43fd262430
commit f32510d6a3
Signed by: RunasSudo
GPG Key ID: 7234E476BF21C61A
2 changed files with 3 additions and 1 deletions

View File

@ -19,7 +19,7 @@
#}
{% block content %}
<div class="ui grid">
<div class="ui stackable grid">
{# side menu #}
<div class="four wide column">
<div class="ui vertical fluid menu">

View File

@ -322,5 +322,7 @@
var expense_data = JSON.parse({{ import('json').dumps(import('json').dumps(revision.expense))|safe }});
var editing = false;
makeGrid();
$('.jsgrid-filter-row, .jsgrid-insert-row').attr('style', 'display: none !important;'); /* Override Semantic UI */
</script>
{% endblock %}