From 098ea29a8c30572053c4ca7bbfd870f61270f9c3 Mon Sep 17 00:00:00 2001 From: Ellen Wittingen <101463776+Ellen-Wittingen@users.noreply.github.com> Date: Wed, 11 Oct 2023 16:53:48 +0200 Subject: [PATCH] Removed quickpost from authenticated index page and moved bibleverse up (#814) --- app/components/index/authenticated.hbs | 59 ++++++++++++++++---------- app/styles/variables.scss | 3 ++ 2 files changed, 40 insertions(+), 22 deletions(-) diff --git a/app/components/index/authenticated.hbs b/app/components/index/authenticated.hbs index b6a4ae5aa..4a82afe64 100644 --- a/app/components/index/authenticated.hbs +++ b/app/components/index/authenticated.hbs @@ -1,14 +1,6 @@ -
- - - -
@@ -24,14 +16,20 @@ -
-
-
- -
- +{{!-- Desktop version --}} +
+
+ + + {{#if (can 'show photo-albums')}} + + {{/if}} + {{#if (can 'show polls')}} + + {{/if}}
-
+ +
{{#if (can 'show activities')}} {{#if (can 'create form/responses')}} @@ -44,12 +42,29 @@ {{#if (can 'show forum/posts')}} {{/if}} - {{#if (can 'show polls')}} - - {{/if}} - {{#if (can 'show photo-albums')}} - - {{/if}} -
+
+ +{{!-- Mobile version --}} +
+ + + {{#if (can 'show activities')}} + {{#if (can 'create form/responses')}} + + {{/if}} + + {{/if}} + {{#if (can 'show users')}} + + {{/if}} + {{#if (can 'show forum/posts')}} + + {{/if}} + {{#if (can 'show polls')}} + + {{/if}} + {{#if (can 'show photo-albums')}} + + {{/if}}
\ No newline at end of file diff --git a/app/styles/variables.scss b/app/styles/variables.scss index 52068d5cc..36f5ee611 100644 --- a/app/styles/variables.scss +++ b/app/styles/variables.scss @@ -123,6 +123,9 @@ $container-max-widths: ( $grid-columns: 12 !default; $grid-gutter-width: 1.875rem; // 30px +// Allow negative margins +$enable-negative-margins: true; + // fonts $font-family-sans-serif: 'nunito sans', 'Arial', sans-serif; $font-family-serif: 'Georgia', 'Times New Roman', 'Times', serif;