Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: profile header avatar being pushed lower on smaller devices #2423

Conversation

maybeanerd
Copy link
Contributor

this fixes an issue where on smaller devices the avatar was moved down, not aligning with the profile header anymore

an example of the issue can be seen here:
image
Fixed it looks like this:
image

to test the fix, you can take a look at any profile with header image and profile picture on a smaller screen ( when the profile buttons wrap around), the account I used is http://localhost:5314/bumscode.com/@tagesschau@ard.social on screen width 320px

@netlify
Copy link

netlify bot commented Oct 8, 2023

Deploy Preview for elk-docs canceled.

Name Link
🔨 Latest commit 4468dc0
🔍 Latest deploy log https://app.netlify.com/sites/elk-docs/deploys/65245bdd7004b80008b1ecec

@netlify
Copy link

netlify bot commented Oct 8, 2023

Deploy Preview for elk-zone ready!

Name Link
🔨 Latest commit 4468dc0
🔍 Latest deploy log https://app.netlify.com/sites/elk-zone/deploys/65245bdd0d809300083b74e1
😎 Deploy Preview https://deploy-preview-2423--elk-zone.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@@ -115,7 +115,7 @@ const personalNoteMaxLength = 2000
<div p4 mt--18 flex flex-col gap-4>
<div relative>
<div flex justify-between>
<button shrink-0 :class="{ 'rounded-full': !isSelf, 'squircle': isSelf }" p1 bg-base border-bg-base z-2 @click="previewAvatar">
<button shrink-0 class="h-full" :class="{ 'rounded-full': !isSelf, 'squircle': isSelf }" p1 bg-base border-bg-base z-2 @click="previewAvatar">
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This can directly be h-full, no?

Suggested change
<button shrink-0 class="h-full" :class="{ 'rounded-full': !isSelf, 'squircle': isSelf }" p1 bg-base border-bg-base z-2 @click="previewAvatar">
<button shrink-0 h-full :class="{ 'rounded-full': !isSelf, 'squircle': isSelf }" p1 bg-base border-bg-base z-2 @click="previewAvatar">

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah I forgot that was possible in this project, you're totally right

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

adjusted it 😄

@maybeanerd maybeanerd force-pushed the fix-profile-header-avatar-being-pushed-lower-on-smaller-devices branch from 8890c73 to 4468dc0 Compare October 9, 2023 20:00
@patak-dev patak-dev added this pull request to the merge queue Oct 9, 2023
Merged via the queue into elk-zone:main with commit e015adc Oct 9, 2023
12 checks passed
@maybeanerd maybeanerd deleted the fix-profile-header-avatar-being-pushed-lower-on-smaller-devices branch December 19, 2023 19:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants