gmail-desktop icon indicating copy to clipboard operation
gmail-desktop copied to clipboard

«Hide Inbox Footer» isn't working as expected

Open yermulnik opened this issue 7 months ago • 7 comments

Moved from #437

The Hide Inbox Footer item (when enabled) in ViewGmail Appearance menu doesn't hide the block it is expected to hide: Image

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;
}

Image

yermulnik avatar May 19 '25 17:05 yermulnik

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?

timche avatar May 20 '25 10:05 timche

Image

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: Image

yermulnik avatar May 20 '25 10:05 yermulnik

Can you check if the role="contentinfo" element has the style applied?

Image

timche avatar May 20 '25 10:05 timche

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: Image

yermulnik avatar May 20 '25 10:05 yermulnik

When you disable "Hide Inbox Footer", how does it actually look like?

timche avatar May 20 '25 10:05 timche

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 🤷🏻

Image

yermulnik avatar May 20 '25 10:05 yermulnik

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 🤝

yermulnik avatar May 20 '25 11:05 yermulnik