Skip to content

Commit a26ba68

Browse files
committed
Wrap table cells for a better responsive table experience + fix printed tables
1 parent 71b90d0 commit a26ba68

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

sass/_theme_layout.sass

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -323,6 +323,8 @@
323323
z-index: $z-index-modal - 1
324324
&.on
325325
display: block
326+
327+
326328
footer
327329
color: $footer-color
328330
p
@@ -392,6 +394,11 @@ footer
392394
height: 100%
393395
overflow: hidden
394396

397+
398+
+media($desktop)
399+
.wy-table-responsive table td
400+
white-space: normal
401+
395402
+media($desktop-wider)
396403
.wy-nav-content-wrap
397404
background: rgba(0,0,0,.05)
@@ -404,3 +411,10 @@ footer
404411
display: none
405412
.wy-nav-content-wrap
406413
margin-left: 0
414+
415+
.wy-table-responsive
416+
overflow: visible
417+
.wy-table-responsive table td,
418+
.wy-table-responsive table th
419+
white-space: normal
420+

0 commit comments

Comments
 (0)