diff --git a/app/assets/stylesheets/movie.css.scss b/app/assets/stylesheets/movie.css.scss index 34bf240..bd50be0 100644 --- a/app/assets/stylesheets/movie.css.scss +++ b/app/assets/stylesheets/movie.css.scss @@ -8,16 +8,17 @@ } #movie-options { - .poster-thumbnail { - position: absolute; - height: 292px; - width: 217px; - border-radius: 14px; - margin-top: 104px; + margin-left: 40px; + .choice { + float: left; + padding: 5px; + .poster-thumbnail { + height: 292px; + width: 217px; + } } } - #poster-container { margin-top: 77px; .poster { diff --git a/app/views/movies/_options.html.erb b/app/views/movies/_options.html.erb index e7847e2..9e43e60 100644 --- a/app/views/movies/_options.html.erb +++ b/app/views/movies/_options.html.erb @@ -1,12 +1,9 @@ -
-
- <% i = 0 %> - <% unless choices.nil? || choices.empty? %> - <% choices.each do |movie| %> - - <% i += 250 %> - <% end %> - <% end %> -
+
+ <% unless choices.blank? %> + <% choices.each do |movie| %> +
+ +
+ <% end %> + <% end %>
\ No newline at end of file