I'm trying to move the cart next to the search bar here but it isn't working.
A user has asked the same question here:
When I put in
<move element="minicart" destination="header.container" before="-" />
<move element="minicart" destination="header.panel" after="top.search" />
My cart ends up in the top right corner on the first code and on the second one, it disappears.
I have moved my search bar by adding the below to default.xml:
<move element="top.search" destination="header-wrapper" after="logo" />