Skip to content

Commit

Permalink
Compact UserLabelView spacing tweak (mlemgroup#807)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sjmarf authored Dec 12, 2023
1 parent 83b015d commit 9ce3081
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Mlem/Views/Shared/Links/User/UserLabelView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,10 @@ struct UserLabelView: View {
var avatarSize: CGFloat { serverInstanceLocation == .bottom ? AppConstants.largeAvatarSize : AppConstants.smallAvatarSize }

var body: some View {
HStack(alignment: .center, spacing: AppConstants.largeAvatarSpacing) {
HStack(
alignment: .center,
spacing: serverInstanceLocation == .bottom ? AppConstants.largeAvatarSpacing : 8
) {
if showAvatar {
AvatarView(user: user, avatarSize: avatarSize, blurAvatar: blurAvatar)
.accessibilityHidden(true)
Expand Down

0 comments on commit 9ce3081

Please sign in to comment.