From 2ea0e4760bfcaaf819e0d3a7a2ac2d5b613951a0 Mon Sep 17 00:00:00 2001 From: Seth Call Date: Sun, 19 Apr 2020 09:39:42 -0500 Subject: [PATCH] add events to precompile --- admin/app/admin/live_stream.rb | 1 - .../assets/stylesheets/events/react-components/EventPage.scss | 2 +- web/config/application.rb | 1 + 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/admin/app/admin/live_stream.rb b/admin/app/admin/live_stream.rb index a1bdc2617..5ab2c8b22 100644 --- a/admin/app/admin/live_stream.rb +++ b/admin/app/admin/live_stream.rb @@ -13,7 +13,6 @@ ActiveAdmin.register JamRuby::LiveStream, :as => 'LiveStream' do record.slug = 'please-do-this-sort-of-thing' record.starts_at = 10.days.from_now.midnight record.ends_at = 11.days.from_now.midnight - record.img_width = 200 record.event_type = 'eventbrite' end end diff --git a/web/app/assets/stylesheets/events/react-components/EventPage.scss b/web/app/assets/stylesheets/events/react-components/EventPage.scss index bd6c13e55..488b6b5fc 100644 --- a/web/app/assets/stylesheets/events/react-components/EventPage.scss +++ b/web/app/assets/stylesheets/events/react-components/EventPage.scss @@ -1,11 +1,11 @@ @import "events/constants"; @import "client/common.scss"; - #rt-e617b4394e0e49e1c234c63161bb2e15 { width:38%; position:absolute; } + #body-content #rt-e617b4394e0e49e1c234c63161bb2e15 { position:static; width:100%; diff --git a/web/config/application.rb b/web/config/application.rb index 171b42b88..14bca627d 100644 --- a/web/config/application.rb +++ b/web/config/application.rb @@ -90,6 +90,7 @@ if defined?(Bundler) config.assets.precompile += %w( minimal/minimal.js minimal/minimal.css ) config.assets.precompile += %w( modern/modern.js modern/modern.css ) config.assets.precompile += %w( basic/basic.js basic/basic.css ) + config.assets.precompile += %w( events/events.js events/events.scss ) # where is rabbitmq? config.rabbitmq_host = "127.0.0.1"