Can we shrink the search box?

Can we shrink the search box?

kenrightskenrights Posts: 36Questions: 10Answers: 0
edited March 2019 in Free community support

Hi Guys,

I'm designing for mobile. When things are too wide it can cause wrapping and it pushes things down on mobile devices. In an effort to recover some screen real estate, I'd like shrink the search box as shown below:

Can someone tell me if / how would this be done? Here is my live.datatables.net project.

Thank you

This question has accepted answers - jump to:

Answers

  • colincolin Posts: 15,210Questions: 1Answers: 2,592
    Answer ✓

    Hi @kenrights ,

    CSS can do that easily - see here.

    Cheers,

    Colin

  • kenrightskenrights Posts: 36Questions: 10Answers: 0

    perfect. Thank you Colin.

  • kenrightskenrights Posts: 36Questions: 10Answers: 0

    Geez, I just started playing with the console after inspecting the element. That was a pretty simple change. Sorry I troubled you. However, you did it in 60 seconds, it probably would have taken me an hour. And then I would have been all proud and treated myself to a beer. :smile:

  • colincolin Posts: 15,210Questions: 1Answers: 2,592
    Answer ✓

    Don't worry, I've got a beer in front me anyway :)

This discussion has been closed.