1
0
mirror of https://github.com/mbirth/wiki.git synced 2024-12-25 23:04:06 +00:00

CSS for table-freezing.

This commit is contained in:
Markus Birth 2017-10-24 18:51:15 +02:00
parent 25fee95e21
commit d7f36bc357

View File

@ -52,6 +52,22 @@ abbr, acronym
td td
white-space: nowrap white-space: nowrap
.freeze-first-col
position: relative
table-layout: fixed
width: 100%
tbody
overflow-x: scroll
position: relative
width: 100%
display: block
td:nth-child(1)
position: relative
background-color: white
display: block
$noteclassic: #99d $noteclassic: #99d
$noteimportant: #ff0 $noteimportant: #ff0
$notewarning: #d99 $notewarning: #d99