convert inline view to use overlay decoration and standard UI components

Convert inline view to use overlay decoration, and standard UI components.
Is setting the width here necessary? It's probably causing the overflow issue I mentioned.