FirefoxSidebar icon indicating copy to clipboard operation
FirefoxSidebar copied to clipboard

sideberry: collapsed sidebar tab icon, tab container indicator, pinned tab margin left and width

Open danielphan2003 opened this issue 2 years ago • 3 comments

Firefox Info

Firefox Nightly 105.0a1, with default Firefox Sidebar extensions.

Issues

Collapsed sidebar tab icon is a rectangle instead of a square

2022-07-29_14-07-44

Tab container indicator is actually 2px

Sideberry only displays it as 1px

Before After
2022-07-29_14-07-45 2022-07-29_14-07-14

Relevant patch:

.container {
  margin: 0 auto auto 11px !important;
}

Pinned margin left is not specified

Also fix container indicator.

Before After
2022-07-29_14-07-04_1 2022-07-29_14-07-41

Relevant patch:

.PinnedTabsBar .tab-wrapper {
  margin: 0-1px 0 11px !important;
}

Pinned tab width depends on tab title

Close icon is pushed further away.

2022-07-29_14-07-42

Sideberry icon doesn't show up, whether CSD is enabled or not

See #22

danielphan2003 avatar Jul 29 '22 07:07 danielphan2003

Huh, after writing the patch for tab container indicator, I tried to reproduce again by importing this repo and after that reapplied my patch but it didn't work. It did work in devtools though.

danielphan2003 avatar Jul 29 '22 07:07 danielphan2003

This is interesting, because a lot of these issues I am not seeing even on an entirely new device with a fresh install (and on Windows, not Linux as I normally use).

I have noticed some new issues crop up with Windows, is this the OS you are using?

I need to submit a few new patches, but have been rather busy the past few weeks.

A quick fix for the rectangle issue is set in sideberry styles :: --tabs-height: 35px !Important; I've been meaning to push that out.

drannex42 avatar Aug 05 '22 15:08 drannex42

This is interesting, because a lot of these issues I am not seeing even on an entirely new device with a fresh install (and on Windows, not Linux as I normally use).

I have noticed some new issues crop up with Windows, is this the OS you are using?

I'm on Linux (NixOS) and I'm using swaywm. I remember having cloned the repo on my Windows machine, but I will get back when I check it out to see if the issues are appearing on Windows as well.

I need to submit a few new patches, but have been rather busy the past few weeks.

A quick fix for the rectangle issue is set in sideberry styles :: --tabs-height: 35px !Important; I've been meaning to push that out.

Thanks, I will try it out to see if that fixes the rectangle issue.

danielphan2003 avatar Aug 05 '22 18:08 danielphan2003