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

Wrong margin between gamepad areas #22

Open
Dinir opened this issue Jul 19, 2023 · 0 comments
Open

Wrong margin between gamepad areas #22

Dinir opened this issue Jul 19, 2023 · 0 comments
Labels
bug not working as intended

Comments

@Dinir
Copy link
Owner

Dinir commented Jul 19, 2023

Describe the bug
It was meant to be 8px but was not properly set with the right attributes.

Expected behavior
It should be set with the right attributes to be 8px.

Browser
OBS 27.2.4


This is a temporary patch I made for myself, and I never got time to properly apply these changes into the stylesheets.
Rather than keeping it by myself, I decided to share it until I get time to make a proper commit one day.

Paste this css into OBS Browser's Custom CSS. I think this set the margin to 4px as I was planning to change it. It's been ages.

#canvas-container[data-width='2'] > div:nth-child(2n-1) {margin-right: 4px;}
#canvas-container[data-width='2'] > div:nth-child(2n) {margin-right: -1px;}
#canvas-container[data-width='3'] > div {margin-right: 4px;}
#canvas-container[data-width='3'] > div:nth-child(2) {margin-right: 3px;}
#canvas-container[data-width='3'] > div:last-child {margin-right: -1px;}
@Dinir Dinir added the bug not working as intended label Jul 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug not working as intended
Projects
None yet
Development

No branches or pull requests

1 participant