diff --git a/app/assets/stylesheets/funds.scss b/app/assets/stylesheets/funds.scss index 58eccb7..e341936 100644 --- a/app/assets/stylesheets/funds.scss +++ b/app/assets/stylesheets/funds.scss @@ -22,7 +22,8 @@ .gift-image { width: 100%; height: 647px; - background-size: cover; + background-size: cover; + background-position: center; } #description { diff --git a/app/assets/stylesheets/gifts.scss.erb b/app/assets/stylesheets/gifts.scss.erb index a1c8d53..27bdb52 100644 --- a/app/assets/stylesheets/gifts.scss.erb +++ b/app/assets/stylesheets/gifts.scss.erb @@ -48,7 +48,10 @@ border-top-left-radius: 6px; border-top-right-radius: 6px; width: 100%; - height: 300px; + height: 250px; + background-position: center; + background-size: 100%; + background-repeat: no-repeat; } .gift-info { diff --git a/app/views/friends/index.html.erb b/app/views/friends/index.html.erb index d70c8f1..f939c9e 100644 --- a/app/views/friends/index.html.erb +++ b/app/views/friends/index.html.erb @@ -5,7 +5,7 @@