Skip to content

Commit 82b1e5e

Browse files
committed
Add top alignment for wrapped <td>s
1 parent 6de361e commit 82b1e5e

File tree

1 file changed

+14
-4
lines changed

1 file changed

+14
-4
lines changed

sass/_theme_layout.sass

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -396,16 +396,24 @@ footer
396396
height: 100%
397397
overflow: hidden
398398

399+
@media screen and (min-width: $nav-media-query)
400+
.wy-nav-content-wrap
401+
background: rgba(0,0,0,.05)
402+
.wy-nav-content
403+
margin: 0
404+
background: $section-background-color
405+
399406
+media($desktop)
400407
.wy-table-responsive table td
401408
white-space: normal
409+
.rst-content table.docutils td
410+
vertical-align: top
402411

403412
+media($desktop-wider)
404-
.wy-nav-content-wrap
405-
background: rgba(0,0,0,.05)
413+
.wy-nav-content-wrap
414+
background: rgba(0,0,0,.05)
406415
.wy-nav-content
407-
margin: 0
408-
background: $section-background-color
416+
background: $section-background-color
409417

410418
@media print
411419
.rst-versions, footer, .wy-nav-side
@@ -418,4 +426,6 @@ footer
418426
.wy-table-responsive table td,
419427
.wy-table-responsive table th
420428
white-space: normal
429+
.rst-content table.docutils td
430+
vertical-align: top
421431

0 commit comments

Comments
 (0)