SideBySide2: Fill the browser width and display a margin

Use the line length preference to draw a margin line at that many
columns of text. This allows a user to configure their project's
preferred width (e.g. 80 columns or 100 columns) and see the margin,
making it easier to identify lines that run over that width.

Filling the browser available space with the CM3 instances each at
50% size allows the user to more easily view long lines if they
have a wide display, and better fit on more narrow displays by
splitting the available width at 50%.

Change-Id: I80d14eb6dfcf5c60830d60ea9a70d5bb9a256b97
This commit is contained in:
Shawn Pearce
2014-01-13 16:21:46 -08:00
parent fbc01d6388
commit 5b3ef34119
8 changed files with 77 additions and 31 deletions

View File

@@ -24,7 +24,6 @@ limitations under the License.
position: relative;
height: 16px;
line-height: 16px;
max-width: 1484px;
}
.reviewed input {
margin: 0;