Skip to content

Commit ffcc65e

Browse files
committed
Make data tables not fill the screen, 'coz that's weird with small tables
1 parent e3e9e8d commit ffcc65e

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

css-writing-modes/Overview.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1682,10 +1682,10 @@ <h3 class="heading settled heading" data-level=7.1 id=vertical-layout><span clas
16821682
and if the table had <span class=css data-link-type=maybe title=auto>auto</span> values for <a class=property data-link-type=propdesc href=http://www.w3.org/TR/CSS21/box.html#propdef-margin-top title=margin-top>margin-top</a> and <a class=property data-link-type=propdesc href=http://www.w3.org/TR/CSS21/box.html#propdef-margin-bottom title=margin-bottom>margin-bottom</a>
16831683
it would be centered vertically within its block flow.
16841684
<div class=figure>
1685-
<p><a href=diagrams/vertical-table.svg>
1685+
<p>
16861686
<img alt="Diagram of a vertical-rl mixed rtl table in a
16871687
vertical block formatting context, showing the ordering of rows,
1688-
cells, and columns as described above." class=example src=diagrams/vertical-table.png></a>
1688+
cells, and columns as described above." class=example src=diagrams/vertical-table.png>
16891689
<p class=caption>Table in <a class=css data-link-type=maybe href=#valuedef-vertical-rl title=vertical-rl>vertical-rl</a> RTL writing mode</p>
16901690
</div>
16911691

default.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -554,6 +554,7 @@ table.features td {
554554
}
555555
.data {
556556
text-align: center;
557+
width: auto;
557558
}
558559
.data caption {
559560
width: 100%;

0 commit comments

Comments
 (0)