From 8330d649b2428516062c0f0a01a66877ddb9b202 Mon Sep 17 00:00:00 2001 From: Moreau Elise <moreau.elise13@gmail.com> Date: Tue, 13 Oct 2020 14:45:26 +0200 Subject: [PATCH] use grid instead flex --- templates/group/list_groups.twig | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/templates/group/list_groups.twig b/templates/group/list_groups.twig index 8ee053c..ecc7633 100644 --- a/templates/group/list_groups.twig +++ b/templates/group/list_groups.twig @@ -1,8 +1,10 @@ {% extends 'common/layout.twig' %} {% block content %} - <a href="/groups/create">Create a group</a> - <h1 class="display-4 text-center"> List groups </h1> - <div class="ui relaxed divided list"> + <div style="grid-column:1/2; grid-row:1/2"> + <h1> List groups </h1> + <a href="/groups/create">Create a group</a> + </div> + <div class="ui relaxed divided list" id="list"> {% for group in groups %} <a href="groups/{{group.id}}" class="item"> <div class="ui horizontal label"> -- GitLab