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

A css selector for privacy when all are off #2974

Open
Kommynct opened this issue Feb 26, 2024 · 1 comment
Open

A css selector for privacy when all are off #2974

Kommynct opened this issue Feb 26, 2024 · 1 comment

Comments

@Kommynct
Copy link

It'd be nice to be able to style when everything is off that way I can disable the section completely when nothing is recording.

@Kommynct
Copy link
Author

A workaround that's a little dumb that I've come up with after a few hours is the following, which makes the css selector for privacy itself have no padding/margins and adds them to the items, which is less clean but works:

	"privacy": {
		"icon-spacing": 0,
		"icon-size": 13,
		"transition-duration": 250,
		"modules": [
			{
				"type": "screenshare",
				"tooltip": true,
				"tooltip-icon-size": 24
			},
			{
				"type": "audio-in",
				"tooltip": true,
				"tooltip-icon-size": 24
			}
		]
#privacy {
	padding: 0px;
}
#privacy-item.screenshare {
	margin-right: 0px;
	margin-left: 5px;
	padding-left: 7px;
}

#privacy-item.audio-in {
	margin-left: 0px;
	padding-left: 3px;
	padding-right: 5px;
}

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