From ea199f94850507b689a346819bc20ea4cd30d029 Mon Sep 17 00:00:00 2001 From: Igor Scheller Date: Sun, 27 Dec 2020 17:55:41 +0100 Subject: [PATCH] FAQ: Added links --- resources/assets/themes/base.less | 20 ++++++++++++++++++++ resources/views/pages/faq/overview.twig | 8 ++++++-- 2 files changed, 26 insertions(+), 2 deletions(-) diff --git a/resources/assets/themes/base.less b/resources/assets/themes/base.less index c0b43774..f04c3530 100644 --- a/resources/assets/themes/base.less +++ b/resources/assets/themes/base.less @@ -262,6 +262,26 @@ h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { margin-top: @line-height-computed; } +span.ref-id[id] { + padding-top: 50px; +} + +.faq { + .panel-heading h3 { + margin: 0; + + small a.ref-link { + display: none; + } + + &:hover { + small a.ref-link { + display: inherit; + } + } + } +} + @keyframes pulse { 0% { transform: rotate(0deg); diff --git a/resources/views/pages/faq/overview.twig b/resources/views/pages/faq/overview.twig index 15ae707b..c1032f88 100644 --- a/resources/views/pages/faq/overview.twig +++ b/resources/views/pages/faq/overview.twig @@ -28,10 +28,14 @@ {% block row %} {% for item in items %} -
+
+
- {{ item.question }} +

+ {{ item.question }} + {{ m.glyphicon('link') }} +