selection of styled elements now includes all of parahraph

When selecting a styled component from within a paragraph, it was only taking the styled element, not the surrounding content.