From 9bcb8bb84764c80ffacdc27962a91d3b8b0d6a2d Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Sun, 10 Jan 2021 22:01:30 +0000 Subject: [PATCH] Add negative margins to re-align tabs References #341 --- .../opdavies/templates/menu/menu-local-tasks.html.twig | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/web/themes/custom/opdavies/templates/menu/menu-local-tasks.html.twig b/web/themes/custom/opdavies/templates/menu/menu-local-tasks.html.twig index 1692a21..a2061ab 100644 --- a/web/themes/custom/opdavies/templates/menu/menu-local-tasks.html.twig +++ b/web/themes/custom/opdavies/templates/menu/menu-local-tasks.html.twig @@ -11,11 +11,14 @@ * themed in menu-local-task.html.twig. */ #} +{% set listClasses = '-mt-3 -ml-3 flex' %} + {% if primary %}

{{ 'Primary tabs'|t }}

- + {% endif %} + {% if secondary %}

{{ 'Secondary tabs'|t }}

- + {% endif %}