diff --git a/templates/capsule/index.html.twig b/templates/capsule/index.html.twig
index 2a29b767c20149b47d1f923a045ccc97df8b4fae..382d145bb3b943ff4cb04c0159a259baf452e5d5 100644
--- a/templates/capsule/index.html.twig
+++ b/templates/capsule/index.html.twig
@@ -74,7 +74,7 @@
                             Delete capsule
                         </a>
                     </div>
-                    <a href="capsule/edit/{{ capsule.getLinkPath() }}" class="list-item lh-md">
+                    <a href="capsule/edit/{{ capsule.getLinkPath() }}" class="list-item text-nowrap pe-2 ps-2 lh-md">
                         <button class="standard-button p-2">
                             Edit capsule
                         </button>