Skip to content
This repository has been archived by the owner on Jan 8, 2024. It is now read-only.

How to set the css style of the background of the tab bar? #196

Open
prize-goof opened this issue Dec 5, 2023 · 1 comment
Open

How to set the css style of the background of the tab bar? #196

prize-goof opened this issue Dec 5, 2023 · 1 comment
Labels

Comments

@prize-goof
Copy link

I want the empty space of the tab bar to be draggable (so that I can have some space to drag the window around). I want to set the css -webkit-app-region: drag; for the tab bar. However, I do not know the class name of the tab bar.

Could anyone explain how to do that?

@brrd
Copy link
Owner

brrd commented Dec 6, 2023

image

The class name is .tabs, but it will focus the whole bar including its children (the tabs), so I guess you won't be able to drag tabs anymore. I think you will need to find a workaround.

Also please be aware of this explanation about electron-tabs styles: https://github.com/brrd/electron-tabs#custom-styles
I have no idea about how -webkit-app-region: drag; behave inside web components.

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

No branches or pull requests

2 participants