panel component works now with inline elements