From 20ff49c8dd47044d54106fc8e52c95272f59d680 Mon Sep 17 00:00:00 2001 From: Andrew Croce Date: Tue, 16 Oct 2018 11:59:00 -0400 Subject: [PATCH] Always show menu, show a message if there are no other workspaces --- styles/elements/_menu.scss | 7 ++++++ templates/navigation/topbar.html | 39 ++++++++++++++++---------------- 2 files changed, 26 insertions(+), 20 deletions(-) diff --git a/styles/elements/_menu.scss b/styles/elements/_menu.scss index ca7953db..7c18bc62 100644 --- a/styles/elements/_menu.scss +++ b/styles/elements/_menu.scss @@ -42,6 +42,13 @@ } } + .menu__message { + @include h5; + font-weight: normal; + font-style: italic; + padding: 0 ($gap * 2); + } + .menu__button { margin: ($gap * 2) ($gap * 2) 0; white-space: nowrap; diff --git a/templates/navigation/topbar.html b/templates/navigation/topbar.html index b4fcabee..2550c4be 100644 --- a/templates/navigation/topbar.html +++ b/templates/navigation/topbar.html @@ -15,7 +15,6 @@
{% if workspace %} - {% if workspaces %}
- {% else %} - - - - {% endif %} {% endif %}