Use CSS flexbox in file detail pane for layout flexibility