Input and span on same line

How to place an input element and a material-symbols-outlined (span) element next to each other?
I have tried inline but didnt work.
Also i cannot remove the min-content from div(which causes the problem in first place) as i need to auto resize the div to fit content width

Repl link:

could you use fit-content instead of min-content?


Thank you! Works really well

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.