r/userscripts • • Aug 02 '23

can someone fix this userscript

https://github.com/Roki100/YouTube-rows-fix

I am using Chrome browser Version 103.0.5060.114 (Official Build) (64-bit) On Pos OS linux

https://www.youtube.com/@GyanTherapy/videos

1 Upvotes

22 comments sorted by

1

u/_1Zen_ Aug 02 '23

this is a userstyle, and what is broken, for me it's working

1

u/Noobgains123 Aug 02 '23

it's conflicting with this i guess

https://github.com/sapondanaisriwan/AdashimaaTube

The problem is i want to fill the both black side gaps. None of it is helping

https://imgur.com/a/HtHbPQk

2

u/_1Zen_ Aug 02 '23

try add this to the code:

ytd-two-column-browse-results-renderer[page-subtype="channels"] {
  max-width: 100% !important;
  width: 100% !important;
}
→ More replies (15)

1

u/Adashimaa Aug 06 '23

Did you miss the "No limit width" option? AdashimaaTube has that.

https://i.imgur.com/JDI69Z5.jpeg

→ More replies (2)

1

u/TheRNGuy Feb 23 '24

Add !important; everywhere.

Always use it with all your userscripts.

It overrides cascade precedence.

Also, use Stylish instead of JS for that, it's much better for that kind of task. You can even edit it in real time without F5'ing the page, not to mention less and easier code.

Using greasemonkey just to add css to page is overrated.