diff --git a/gradle/changelog/gravatar-changes.yaml b/gradle/changelog/gravatar-changes.yaml
new file mode 100644
index 0000000000..6ab5b550d2
--- /dev/null
+++ b/gradle/changelog/gravatar-changes.yaml
@@ -0,0 +1,6 @@
+- type: fixed
+ description: Overlapping text inside the footer section if the alt text of an avatar is rendered
+- type: fixed
+ description: Overlapping text inside the commit overview if the alt text of an avatar is rendered
+- type: fixed
+ description: Fetching of gravatar images getting blocked by Cross-Origin-Embedder-Policy
diff --git a/scm-ui/ui-components/src/__snapshots__/storyshots.test.ts.snap b/scm-ui/ui-components/src/__snapshots__/storyshots.test.ts.snap
index df34b5a14a..ecc4629d29 100644
--- a/scm-ui/ui-components/src/__snapshots__/storyshots.test.ts.snap
+++ b/scm-ui/ui-components/src/__snapshots__/storyshots.test.ts.snap
@@ -1825,18 +1825,20 @@ exports[`Storyshots Footer Full 1`] = `
className="has-text-weight-bold mb-2"
>
-
+

-
- Trillian McMillian
+
+
+ Trillian McMillian
+
-
+

-
- Trillian McMillian
+
+
+ Trillian McMillian
+
Arthur Dent
@@ -20148,6 +20153,7 @@ exports[`Storyshots Repositories/Annotate With Avatars 1`] = `
Tricia Marie McMillan
@@ -20210,6 +20216,7 @@ exports[`Storyshots Repositories/Annotate With Avatars 1`] = `
Arthur Dent
@@ -20254,6 +20261,7 @@ exports[`Storyshots Repositories/Annotate With Avatars 1`] = `
Ford Prefect
@@ -20298,6 +20306,7 @@ exports[`Storyshots Repositories/Annotate With Avatars 1`] = `
Arthur Dent
@@ -20380,11 +20389,12 @@ exports[`Storyshots Repositories/Changesets Co-Authors with avatar 1`] = `
className="media-left mt-2 mr-2"
>
@@ -20554,11 +20564,12 @@ exports[`Storyshots Repositories/Changesets Commiter and Co-Authors with avatar
className="media-left mt-2 mr-2"
>
@@ -21626,11 +21637,12 @@ exports[`Storyshots Repositories/Changesets With avatar 1`] = `
className="media-left mt-2 mr-2"
>
diff --git a/scm-ui/ui-components/src/avatar/AvatarImage.tsx b/scm-ui/ui-components/src/avatar/AvatarImage.tsx
index 6fa5e68045..9815687465 100644
--- a/scm-ui/ui-components/src/avatar/AvatarImage.tsx
+++ b/scm-ui/ui-components/src/avatar/AvatarImage.tsx
@@ -15,7 +15,7 @@
*/
import React, { FC } from "react";
-import { Image } from "..";
+import { Image } from "@scm-manager/ui-core";
import { EXTENSION_POINT, Person } from "./Avatar";
import { useBinder } from "@scm-manager/ui-extensions";
@@ -36,7 +36,7 @@ const AvatarImage: FC = ({ person, representation = "rounded-border", cla
classes += " " + className;
}
- return ;
+ return ;
}
return null;
diff --git a/scm-ui/ui-components/src/layout/Footer.tsx b/scm-ui/ui-components/src/layout/Footer.tsx
index b1f35fbf75..61d1089b90 100644
--- a/scm-ui/ui-components/src/layout/Footer.tsx
+++ b/scm-ui/ui-components/src/layout/Footer.tsx
@@ -51,23 +51,19 @@ type TitleWithAvatarProps = {
};
const VCenteredAvatar = styled(AvatarImage)`
- vertical-align: middle;
-`;
-
-const AvatarContainer = styled.span`
- float: left;
+ width: 1rem !important;
+ height: 1rem !important;
margin-right: 0.3em;
padding-top: 0.2em;
- width: 1em;
- height: 1em;
+ border-radius: 100%;
`;
const TitleWithAvatar: FC = ({ me }) => (
-
-
+
+
-
- {me.displayName}
+
+
{me.displayName}
);
diff --git a/scm-ui/ui-components/src/repos/changesets/SingleChangeset.tsx b/scm-ui/ui-components/src/repos/changesets/SingleChangeset.tsx
index 46b3730782..b7319801a4 100644
--- a/scm-ui/ui-components/src/repos/changesets/SingleChangeset.tsx
+++ b/scm-ui/ui-components/src/repos/changesets/SingleChangeset.tsx
@@ -37,6 +37,7 @@ type Props = {
const FixedSizedAvatar = styled.div`
width: 35px;
height: 35px;
+ min-width: fit-content;
`;
const FullWidthDiv = styled.div`