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-alt-layout breaking logo in desktop app #16

Open
stpnwf opened this issue Sep 6, 2024 · 1 comment
Open

mobile-alt-layout breaking logo in desktop app #16

stpnwf opened this issue Sep 6, 2024 · 1 comment

Comments

@stpnwf
Copy link

stpnwf commented Sep 6, 2024

Hey, I was looking at the changes you've made to Zombie to see if there were cool ones I could backport to Zesty, when I found this bug. It only happens in the Desktop app and in Firefox. Issue doesn't happen in Chrome/Chromium. And it is triggered by mobile-alt-layout.css. Great job on the changes btw. Your CSS is so clean hahaha

Screenshot from 2024-09-06 09-44-22

@stpnwf
Copy link
Author

stpnwf commented Sep 8, 2024

Using display: none; and display: block; is what is causing it. Either one of these solved it for me.

#itemDetailPage .itemName.infoText.parentNameLast > bdi:first-child,
#itemDetailPage .parentName > bdi:first-child {
  opacity: 0;
}
.hide + .detailPageWrapperContainer .itemName > bdi:first-child,
.hide + .parentName > bdi:first-child {
  opacity: 1 !important;
}

or

#itemDetailPage .itemName.infoText.parentNameLast > bdi:first-child,
#itemDetailPage .parentName > bdi:first-child {
  visibility: hidden;
}
.hide + .detailPageWrapperContainer .itemName > bdi:first-child,
.hide + .parentName > bdi:first-child {
  visibility: visible !important;
}

I couldn't figure out how to get the title to disappear and have it show up when there was no logo, so I ended up having it being shown all the time in Zesty... Well, no more. Thanks to this snippet. Now I just gotta figure out how to make the logo a link.

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

1 participant