diff --git a/app/assets/stylesheets/navbar.scss b/app/assets/stylesheets/navbar.scss index 65d421b..53866d4 100644 --- a/app/assets/stylesheets/navbar.scss +++ b/app/assets/stylesheets/navbar.scss @@ -21,4 +21,8 @@ .badge-container{ position: relative !important; +} + +.dropdown-profile-picture{ + width: 5rem !important; } \ No newline at end of file diff --git a/app/views/connections/_connection_cards.html.erb b/app/views/connections/_connection_cards.html.erb index 1a84fa5..7a948fc 100644 --- a/app/views/connections/_connection_cards.html.erb +++ b/app/views/connections/_connection_cards.html.erb @@ -2,7 +2,9 @@
<% if connection_profile.photo.present? %> - <%= image_tag connection_profile.photo_attachment, width: '85rem', alt: 'Foto de perfil', class: 'profile-picture rounded rounded-circle px-2' %> +
+ <%= image_tag connection_profile.photo_attachment, width: '85rem', alt: 'Foto de perfil', class: 'img-cover profile-picture rounded rounded-circle px-2' %> +
<% else %> <%= image_tag 'default_portfoliorrr_photo.png', width: '85rem', alt: 'Foto de perfil', class: 'profile-picture rounded rounded-circle px-2' %> <% end %> diff --git a/app/views/home/index.html.erb b/app/views/home/index.html.erb index d44588b..b7dbb37 100644 --- a/app/views/home/index.html.erb +++ b/app/views/home/index.html.erb @@ -5,9 +5,11 @@