Shrink the size of pinned tabs

Use case or problem

Pinned notes take up valuable space which can be used to show the titles of other non pinned tabs.

Proposed solution

The horizontal size of a pinned tab should be smaller than a normal tab. This behavior should mimic that of Chrome or Firefox where a pinned tab’s size is only big enough for the first couple letters of the name.

Current workaround (optional)

All pinned notes are opened in their own window which i manually shrink. If i need to reference those notes I expand the panel.

5 Likes

You can always make a permanent CSS snippet if this won’t get implemented, as follows :grin:

.workspace-tab-header:has(.mod-pinned) {
  /* shrink if pinned */
  max-width: 60px !important;

  /* also hide the title of pinned tabs */
  & .workspace-tab-header-inner-title {
    display: none;
  }
}

Result (far better than using extra windows, right?):

Screenshot-25_11_2023-22.48.26

…there is still a tooltip shown if you hover the shrunk tab, and unpinning reverts the tab as expected :kissing_smiling_eyes: :ok_hand:

Heck, I’m keeping this in my vault - can’t believe I haven’t thought about it before.

4 Likes

Thats a great idea. Thanks for the snippet.

1 Like

+1
this would be really nice