From adcd699712e0e2249a640792aeab56fd8174a0bc Mon Sep 17 00:00:00 2001 From: Chris Hill-Scott Date: Mon, 26 Nov 2018 10:56:48 +0000 Subject: [PATCH] Maintain full width for items without a path --- app/assets/stylesheets/components/message.scss | 16 ++++++++++++++++ .../views/templates/_template_list.html | 2 +- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/app/assets/stylesheets/components/message.scss b/app/assets/stylesheets/components/message.scss index b0469c917..d39d99c1e 100644 --- a/app/assets/stylesheets/components/message.scss +++ b/app/assets/stylesheets/components/message.scss @@ -52,6 +52,22 @@ display: none; } + &-without-ancestors { + + .message-name { + + a { + display: block; + + &:first-child { + display: block; + } + } + + } + + } + } &-folder { diff --git a/app/templates/views/templates/_template_list.html b/app/templates/views/templates/_template_list.html index a6e7fb212..f26e32b0d 100644 --- a/app/templates/views/templates/_template_list.html +++ b/app/templates/views/templates/_template_list.html @@ -12,7 +12,7 @@ {% else %}