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

Remove empty favicon placeholder when site icons and favicons are off. Help wanted. #2809

Closed
barkoder opened this issue Feb 10, 2021 · 7 comments

Comments

@barkoder
Copy link

Short description

Hi!

I don't use favicons/site icons so I have them turned off in about:config. And they also happen to be a privacy risk. So I always have them off.
Regular tabs in Firefox give me back the space that's normally used for those but I can't seem to get back the space in TST. Please help.

Thanks :)

Steps to reproduce

  1. Start Firefox with clean profile.
  2. Install TST 3.7.0 on your OS of choice.
  3. Visit about:config
  4. Set browser.chrome.favicons , browser.shell.shortcutFavicons , alerts.showFavicons and browser.chrome.site_icons to False
  5. Quit Firefox.
  6. Delete favicons.sqlite from your profile folder to fully remove favicons cache.
  7. Start Firefox Again.
  8. Visit https://en.wikipedia.org/wiki/Main_Page
  9. You'll get this empty circle.
    Remove favicon placeholder Circles (2) and get back this space for text
  10. How do you remove that circle altogether and get back the space instead for the text of the tab's name?

Expected result

No more empty favicon circles. And that space should be used for the tab's name instead. Like here with regular tabs.
Regular tabs give back the space

Actual result

Empty favicon circles.

Environment

  • Platform (OS): Windows, Linux
  • 78.7.1 ESR Version of Firefox:
  • TST 3.7.0
@piroor
Copy link
Owner

piroor commented Feb 10, 2021

TST Options => Advanced => Extra style rules like following should do that:

tab-item:not(.faviconized):not(.loading) tab-favicon {
  display: none;
}

@barkoder
Copy link
Author

Thank you @piroor :)

@barkoder barkoder reopened this Feb 10, 2021
@barkoder
Copy link
Author

But is there some way to move the text further left

But is there some way to move the text further towards the left edge?

@irvinm
Copy link
Contributor

irvinm commented Feb 11, 2021

@barkoder you might want to check the instructions on how to inspect the CSS in the sidebar. (https://github.com/piroor/treestyletab/wiki/How-to-inspect-tree-of-tabs) From there you can see all the effective CSS and find what works for you.

In your case, you can simply change the tab label margin to 0 to get back a little space. You can go further left, but you have to remember there are twisties shown when there is a tree. The CSS might be too generic for your solution, but might give you an idea.

tab-item tab-label {
    margin-left: 0;
}

@barkoder
Copy link
Author

barkoder commented Feb 11, 2021

Thanks @irvinm that did move the text a little futher left. But is there some way to remove the twisties completely and move the text all the way over to the left? I always double click the tree's parent to expand and collapse anyway so I don't need the twisties.

@irvinm
Copy link
Contributor

irvinm commented Feb 11, 2021

tab-item tab-twisty {
  display: none;
}

@barkoder
Copy link
Author

Thanks @irvinm finally the text's all the way left.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants