«Hide Inbox Footer» isn't working as expected
Moved from #437
The Hide Inbox Footer item (when enabled) in View→Gmail Appearance menu doesn't hide the block it is expected to hide:
main/packages/app/gmail/gmail.css#L10-L16 — the role and related href seem to belong in different level of divs for me here
/* Gmail Inbox Footer */
html.meru.hide-inbox-footer
[role="contentinfo"]:has(
a[href="https://www.google.com/gmail/about/policy/"]
) {
display: none !important;
}
Thank you for sharing all this with me!
Would it be possible if you could open the role="contentinfo" element tree and share a screenshot of it?
Let me know if you'd like it as code rather than as image.
There's indeed a nested href which should fall under the hide-indbox-footer, but it's not caught somehow:
Can you check if the role="contentinfo" element has the style applied?
Can you check if the role="contentinfo" element has the style applied?
Yep, it has.
Ah, I guess I see now: that block from the screenshot from initial message in this thread is from another div:
When you disable "Hide Inbox Footer", how does it actually look like?
When you disable "Hide Inbox Footer", how does it actually look like?
The same as when it is enabled. This is why I asked what is the expected effect of this item =)
The search for https://www.google.com/gmail/about/policy/ gives me three matches and two of them are role="contentinfo" divs and the other one is class="aia" div 🤷🏻
Just in case: I'm all fine with this block being visible (it even makes some sense to me). Just wanted to draw the attention to this in case this feature is indeed worthwhile for someone else.
ps: still happy to help investigating/locating though 🤝