Currently, view-file is rendered using a div. Make it detect inline mode and render using a span instead in this case. For this, the button view (currently which was used for the thumbnail display until now) will be used.