Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/diaspora/diaspora.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Changelog.md3
-rw-r--r--app/assets/stylesheets/hovercard.scss12
2 files changed, 4 insertions, 11 deletions
diff --git a/Changelog.md b/Changelog.md
index 123d6e864..05a3fa7df 100644
--- a/Changelog.md
+++ b/Changelog.md
@@ -1,9 +1,8 @@
# 0.7.2.0
-## Refactor
-
## Bug fixes
* Ignore invalid `diaspora://` links [#7652](https://github.com/diaspora/diaspora/pull/7652)
+* Fix deformed avatar in hovercards [#7656](https://github.com/diaspora/diaspora/pull/7656)
## Features
* Add birthday notifications [#7624](https://github.com/diaspora/diaspora/pull/7624)
diff --git a/app/assets/stylesheets/hovercard.scss b/app/assets/stylesheets/hovercard.scss
index c664ee467..89e3b4cde 100644
--- a/app/assets/stylesheets/hovercard.scss
+++ b/app/assets/stylesheets/hovercard.scss
@@ -12,16 +12,10 @@
font-size: small;
.avatar {
- position: relative;
float: left;
- height: 70px !important;
- width: 70px !important;
- top: 0 !important;
-
- margin: {
- right: 10px;
- left: 0;
- }
+ height: 70px;
+ object-fit: cover;
+ width: 70px;
}
$image_width: 80px; /* including margin */