Closed tyler-french closed 1 year ago
FYI @abhinav, I noticed it looks a little wide on some browsers: https://github.com/uber-go/guide/blob/master/style.md#test-tables
I tried transposing the table to see if that helped. It takes less horizontal space, but I don't think that's better. I'll revert my change.
Yeah, I think tabs to two spaces here is the only way right now to demonstrate them side-by-side without a lot of horizontal scrolling. We already use two spaces for indentation in most other code samples in the guide.
The tables added in #174 are a bit wide and hard to fit on smaller screens.
By changing the
, and splitting a line, we can reduce this width.
\t
to