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

Mobile avatar-container display #1264

Closed
tsolloway opened this issue Jan 3, 2024 · 1 comment
Closed

Mobile avatar-container display #1264

tsolloway opened this issue Jan 3, 2024 · 1 comment

Comments

@tsolloway
Copy link
Contributor

avatar-container can conflict website title on mobile. My hot fix was:

@media (max-width: 574px) {
  .avatar-container {
    display: none;
  }
}
@daattali
Copy link
Owner

daattali commented Jan 4, 2024

The icon can interfere with the title and also with the menu links, even in desktop mode. The custom solution I've suggested in the past is to simply move it down instead of hiding it. In your case:

@media (max-width: 574px) {
  .navbar-custom .avatar-container {
    bottom: -2.5rem;
  }
}

@daattali daattali closed this as completed Jan 4, 2024
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

No branches or pull requests

2 participants