Minimum width necessary to render the block's contents.

def min_width(self) -> int:
        """Minimum width necessary to render the block's contents."""
        return max(
            max(len(e) for e in self.content.split('\n')),
            # Only horizontal lines can cross 0 width blocks.
            int(any([self.top, self.bottom]))
        )