Don't add left/right styles if just at right/left edge
Don't add left/right styles if just at right/left edge

Sort of fixes #3439

databrary/databrary,databrary/databrary,databrary/databrary,databrary/databrary