Instead of re-styling the border and radius of the linked buttons
depending on the position (middle, first, last, or only child), just
remove the border and radius in a specific direction when the button is
This properly handles the style of linked buttons in all positions -- middle, first, last, and only child.
Fixes #1294 (closed)