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;