diff --git a/app/assets/stylesheets/public_figures.scss b/app/assets/stylesheets/public_figures.scss index b08755b..e757f01 100644 --- a/app/assets/stylesheets/public_figures.scss +++ b/app/assets/stylesheets/public_figures.scss @@ -1,12 +1,11 @@ // Place all the styles related to the public-figures controller here. // They will automatically be included in application.css. // You can use Sass (SCSS) here: http://sass-lang.com/ -#celebrity { +#public_figure div { height: 150px; width: 150px; -webkit-border-radius: 50%; border-radius: 50%; - background-repeat: no-repeat; - background-position: center center; - background-size: cover; + background-size:cover; + background-repeat:no-repeat; } \ No newline at end of file diff --git a/app/views/public_figures/show.html.erb b/app/views/public_figures/show.html.erb index 923937d..bb0a542 100644 --- a/app/views/public_figures/show.html.erb +++ b/app/views/public_figures/show.html.erb @@ -1,16 +1,13 @@ - <% provide(:title, @public_figure.name ) %>