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

How to switch locations of pin button and close button? #86

Open
iFUCKINGHATEcomputers opened this issue Jun 6, 2024 · 0 comments
Open

Comments

@iFUCKINGHATEcomputers
Copy link

iFUCKINGHATEcomputers commented Jun 6, 2024

It really makes more sense (because pretty much every other tabbed UI is like this, not just vertical ones) to have the close button on the right side of the tab, and the pin button on the left.

I tried wrangling the CSS to no avail. GPT-4o was no help. My edits made the close icons clumsily stick to the text's right side, meanwhile the pin icons are immovable for whatever reason.

I almost thought I'd solved it perfectly by using absolute left/right repositioning of the icons, but being absolute means that the icons remain static once you scroll down.

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

No branches or pull requests

1 participant