diff --git a/app/assets/stylesheets/mobile.css.sass b/app/assets/stylesheets/mobile.css.sass index 85694b34..2ec84ae1 100644 --- a/app/assets/stylesheets/mobile.css.sass +++ b/app/assets/stylesheets/mobile.css.sass @@ -2,6 +2,9 @@ body.events.index table font-size: larger + sidebar#lug-list + width: auto + @media all and (max-width: 1024px) body.events.index table width: 100% @@ -10,7 +13,6 @@ body border: none margin: 0 - padding: 0 header.top h1 margin-top: 0 main ul @@ -54,3 +56,6 @@ margin-left: 1em li list-style-type: disc + + sidebar + display: none diff --git a/app/views/events/show.html.haml b/app/views/events/show.html.haml index b48f9e9f..fde1b8e8 100644 --- a/app/views/events/show.html.haml +++ b/app/views/events/show.html.haml @@ -3,7 +3,7 @@ = @event.title - if @event.persisted? && request.format == 'text/html' && controller.controller_name != 'moderations' && controller.controller_name != 'notes' && controller.action_name != 'edit' && controller.action_name != 'cancel' - #lug-list + %sidebar#lug-list %h1=t '.lug-list' - if @event.related_region %ul