align attribution instead of float.

This commit is contained in:
piuvas 2025-05-27 00:04:40 -03:00
parent ddfc051e93
commit 228f24b5d6
No known key found for this signature in database

View file

@ -65,7 +65,7 @@ SPDX-License-Identifier: AGPL-3.0-only
</footer> </footer>
</article> </article>
</component> </component>
<footer v-if="linkAttribution" :class="$style.footer" style="float: right"> <footer v-if="linkAttribution" :class="$style.footer" style="text-align: right">
<a :href="'/@' + linkAttribution.username"> <a :href="'/@' + linkAttribution.username">
<p :class="$style.linkAttribution">{{ i18n.ts.writtenBy }}</p> <p :class="$style.linkAttribution">{{ i18n.ts.writtenBy }}</p>
<MkImgWithBlurhash :class="$style.linkAttributionIcon" :src="linkAttribution.avatarUrl" :hash="linkAttribution.avatarBlurhash" :cover="true" :onlyAvgColor="true"/> <MkImgWithBlurhash :class="$style.linkAttributionIcon" :src="linkAttribution.avatarUrl" :hash="linkAttribution.avatarBlurhash" :cover="true" :onlyAvgColor="true"/>