problem with implemnting stackoverflow-like tag search bar? : First of all, sorry for the weirdly phrased question. My problem is that when the tags overflow the container you can't see the search anymore and I want it to kind of move everything back in the search and slide the search forward like in the image below

https://imgur.com/a/QqXbNgt

what's actually happening

https://gyazo.com/6c0e0064ad13d9fe4cfd6e05c20c72e8

My html code


     <div id = "home-search" class="searchbar">
                        
                        <span class = "taglist">
							<!-- these are just mvc tag helpers -->
                            <Tag tag-text = "sql-server"></Tag>
                            <Tag tag-text = "CSharp"></Tag>
                            <Tag tag-text = "life-drawing"></Tag>
                            <Tag tag-text = "game-dev"></Tag>
                        </span>

                        <span class = "searchbox"><input class = "" placeholder="Search..." name=""></span>
     </div>




Thanks in advance.

