From a2b8786cf644680e7f6e544fd78d1411da258e86 Mon Sep 17 00:00:00 2001 From: echarp Date: Thu, 1 Mar 2018 21:51:45 +0100 Subject: [PATCH] Better organisation's details --- app/assets/stylesheets/list.sass | 2 +- app/assets/stylesheets/orgas.sass | 2 +- app/views/orgas/show.html.haml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/assets/stylesheets/list.sass b/app/assets/stylesheets/list.sass index 31560340..1653b243 100644 --- a/app/assets/stylesheets/list.sass +++ b/app/assets/stylesheets/list.sass @@ -25,8 +25,8 @@ table text-align: center dl + width: 40em margin: 1em auto - max-width: 40em dt clear: left float: left diff --git a/app/assets/stylesheets/orgas.sass b/app/assets/stylesheets/orgas.sass index 4f7cab83..8e2c9756 100644 --- a/app/assets/stylesheets/orgas.sass +++ b/app/assets/stylesheets/orgas.sass @@ -43,7 +43,7 @@ body.orgas.show main min-width: 60em dl, iframe, fieldset display: inline-block - min-width: 30em + min-width: 40em vertical-align: top table tr.inactive diff --git a/app/views/orgas/show.html.haml b/app/views/orgas/show.html.haml index be6e5edb..8974ebf0 100644 --- a/app/views/orgas/show.html.haml +++ b/app/views/orgas/show.html.haml @@ -57,7 +57,7 @@ %dd= mail_to @orga.contact, nil, encode: (request.format == 'text/html' ? :javascript : nil), replace_at: ' CHEZ ', replace_dot: ' POINT ' - - if @orga.tags? + - if @orga.tags.any? %dt %em.fa.fa-tags = Event.human_attribute_name :tags