Make lines 100% of the width of their container

This is part of the solution to #2701. Lines need to be 100% wide in
case a class styles their background.