]> granicus.if.org Git - graphviz/commit
Generate shapes responsively: reflow small screens
authorMark Hansen <markhansen@google.com>
Tue, 2 Mar 2021 10:09:20 +0000 (21:09 +1100)
committerMark Hansen <markhansen@google.com>
Tue, 2 Mar 2021 10:09:20 +0000 (21:09 +1100)
commit2d580d0a9e936b545a0436fc585b6bc20da3291a
treebdceca084b18d116e4c9b4f3c007a6e90e6e0fb6
parent45878d0f463e877e6cf2d5924a38a9ba5f0c77b0
Generate shapes responsively: reflow small screens

Don't use a fixed table of width 4, reflow to the available space.

This was a bit of a pain to get the CSS right. This stackoverflow answer
was very helpful: https://stackoverflow.com/a/14155983/171898

This is towards moving shapes.html into graphviz.gitlab.io repo. Simpler
for loops that jekyll can handle.
doc/infosrc/mkshhtml.py
doc/infosrc/templates/shapes.html.j2