Ok so I'm designing a Bootstrap accordion heading panel with multiple elements in it:
- A big button
- Some (shortish) text/title that could be multiple lines long
- A small button group on the left
In theory that's working quite fine, at least if the title is not too long for the container. If it starts spilling into a second or third line, the whole concept falls apart. See my fiddle here.
What I want is that all elements are always 1. Next to each other, 2. Vertically centered.
So let me try and draw how it should look with bigger titles:
-----------------------------------------------------
| |
| ------- Text that spillls over ---------- |
| | BTN | into the next line and | | | | |
| ------- beyond! ---------- |
| |
-----------------------------------------------------
So basically, each of the three elements has it's well defined space and is vertically centered inside that.
How do I achieve this?