Add | column separators to arrays.

This adds the ability to add `|` to a column description and have
vertical separators be added. I added types to the column descriptions
and added some logic to handle the separators when building the vertical
lists of the array.

Test plan:
 - See the Arrays screenshot looks good.
 - `make test`
This commit is contained in:
Emily Eisenberg
2015-08-18 14:32:57 -07:00
parent cb9f765e06
commit 3a8adbf595
7 changed files with 111 additions and 27 deletions

View File

@@ -497,20 +497,28 @@
}
}
.arraycolsep {
display: inline-block;
}
.mtable {
.vertical-separator {
display: inline-block;
margin: 0 -0.025em;
border-right: 0.05em solid black;
}
.col-align-c > .vlist {
text-align: center;
}
.arraycolsep {
display: inline-block;
}
.col-align-l > .vlist {
text-align: left;
}
.col-align-c > .vlist {
text-align: center;
}
.col-align-r > .vlist {
text-align: right;
.col-align-l > .vlist {
text-align: left;
}
.col-align-r > .vlist {
text-align: right;
}
}
}