Using the float component in combination with chat input to add chat buttons. Avoiding that the chat text hides behind the buttons

Here are the pics of how it looks now. I’m using this code

        chat_buttons.float(
            "bottom: 6.5rem;background-color: var(--default-backgroundColor); "
            "padding-top: 1rem; max-width: 80vw; flex-wrap: nowrap"
        )

As you can see the icon moves to the left in the mobile version which probably means stacking. I was wondering if I could detect vertical stacking happening then maybe I can arrange the icons inside a popover, like they asked here

Anyways thanks so much for all the help, you’ve helped me a lot.