Hi,
When I run wofi with width=100% and orientation=horizontal (everything else default, no style.css), the wofi window is wider than my screen.
I'm using arch linux, and it happens both with wofi 1.2.4 from the repos and wofi-hg from the AUR.
Through experimenting, it appears that the extra width (~166px on my 1366x768 screen) is almost exactly the width of the input box.
I don't know C so can't check, but is the width of #scroll being set to the screen width, then #input added next to it?
Edit: Oh yeah, this is on sway 1.5.1
You were exactly correct,
#scroll
was being set to the window dimensions and the size of#input
was being ignored entirely. It's been fixed by bae1c99a465f
Brilliant, thank you.
Updated and I can confirm it's working for me.