diff --git a/nummi/main/static/main/css/main.css b/nummi/main/static/main/css/main.css
index d532a1c..f562459 100644
--- a/nummi/main/static/main/css/main.css
+++ b/nummi/main/static/main/css/main.css
@@ -114,7 +114,7 @@ main {
     display: grid;
     column-gap: var(--gap);
     row-gap: var(--gap);
-    grid-template-columns: 1fr;
+    grid-template-columns: 100%;
     @media (width > 720px) {
       grid-template-columns: max-content 1fr;
     }
diff --git a/nummi/main/static/main/css/table.css b/nummi/main/static/main/css/table.css
index 3e38ad6..c2c9fec 100644
--- a/nummi/main/static/main/css/table.css
+++ b/nummi/main/static/main/css/table.css
@@ -1,6 +1,7 @@
 .table,
 form {
   overflow-x: auto;
+  width: 100%;
 }
 table {
   border-collapse: collapse;
diff --git a/nummi/main/templates/main/index.html b/nummi/main/templates/main/index.html
index b637297..c5b457b 100644
--- a/nummi/main/templates/main/index.html
+++ b/nummi/main/templates/main/index.html
@@ -11,40 +11,42 @@
     <div class="split">
         <section class="accounts">
             <h2>{% translate "Accounts" %}</h2>
-            <table>
-                <thead>
-                    <tr>
-                        <th colspan="2">{% translate "Account" %}</th>
-                        <th>{% translate "Balance" %}</th>
-                        <th>{% translate "Edit" %}</th>
-                    </tr>
-                </thead>
-                <tbody>
-                    {% for acc in accounts %}
+            <div class="table">
+                <table>
+                    <thead>
                         <tr>
-                            <td>{{ acc.icon|remix }}</td>
-                            <th class="l">
-                                <a href="{{ acc.get_absolute_url }}">{{ acc }}</a>
-                            </th>
-                            <td class="value">{{ acc.statement_set.first.value|value }}</td>
-                            <td>
-                                <a href="{% url "edit_account" acc.pk %}">{% translate "Edit" %}</a>
+                            <th colspan="2">{% translate "Account" %}</th>
+                            <th>{% translate "Balance" %}</th>
+                            <th>{% translate "Edit" %}</th>
+                        </tr>
+                    </thead>
+                    <tbody>
+                        {% for acc in accounts %}
+                            <tr>
+                                <td>{{ acc.icon|remix }}</td>
+                                <th class="l">
+                                    <a href="{{ acc.get_absolute_url }}">{{ acc }}</a>
+                                </th>
+                                <td class="value">{{ acc.statement_set.first.value|value }}</td>
+                                <td>
+                                    <a href="{% url "edit_account" acc.pk %}">{% translate "Edit" %}</a>
+                                </td>
+                            </tr>
+                        {% empty %}
+                            <tr>
+                                <td class="empty" colspan="4">{% translate "No account" %}</td>
+                            </tr>
+                        {% endfor %}
+                    </tbody>
+                    <tfoot>
+                        <tr class="new">
+                            <td colspan="4">
+                                <a href="{% url "new_account" %}">{% translate "Create account" %}</a>
                             </td>
                         </tr>
-                    {% empty %}
-                        <tr>
-                            <td class="empty" colspan="4">{% translate "No account" %}</td>
-                        </tr>
-                    {% endfor %}
-                </tbody>
-                <tfoot>
-                    <tr class="new">
-                        <td colspan="4">
-                            <a href="{% url "new_account" %}">{% translate "Create account" %}</a>
-                        </td>
-                    </tr>
-                </tfoot>
-            </table>
+                    </tfoot>
+                </table>
+            </div>
         </section>
         <section class="categories">
             <h2>{% translate "Categories" %}</h2>
