From d7f36bc3574c64c70d22e6617fdc076ed3eb1db4 Mon Sep 17 00:00:00 2001 From: Markus Birth Date: Tue, 24 Oct 2017 18:51:15 +0200 Subject: [PATCH] CSS for table-freezing. --- css/custom.sass | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/css/custom.sass b/css/custom.sass index 3a6d7cd..f47329a 100644 --- a/css/custom.sass +++ b/css/custom.sass @@ -52,6 +52,22 @@ abbr, acronym td 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 $noteimportant: #ff0 $notewarning: #d99