Index: lams_tool_scratchie/web/pages/monitoring/studentChoices.jsp =================================================================== diff -u -r247497a7d9d4f70de1fa371bed92b0635f090cac -rdca131e6c31f20fd0173cd912bd8edf0213f9d33 --- lams_tool_scratchie/web/pages/monitoring/studentChoices.jsp (.../studentChoices.jsp) (revision 247497a7d9d4f70de1fa371bed92b0635f090cac) +++ lams_tool_scratchie/web/pages/monitoring/studentChoices.jsp (.../studentChoices.jsp) (revision dca131e6c31f20fd0173cd912bd8edf0213f9d33) @@ -16,23 +16,43 @@ -webkit-overflow-scrolling: touch; } - /*---- fixed first column ----*/ - #questions-data { - position: relative; + #questions-header-sticky { + display: none; + position: sticky; + top: 0; + z-index: 1; + background: #FFF; } - #questions-data thead th { - position: -webkit-sticky; /* for Safari */ - position: sticky; - top: 0; - background: #FFF; + #questions-header-sticky.stick { + display: table; } + /* Use strick column widths so sticky and standard header look the same. */ + #questions-header-sticky thead th:first-child, #questions-data thead th:first-child { - left: 0; - z-index: 1; + min-width: 17rem; + max-width: 17rem; + width: 17rem; } + .question-header-cell { + min-width: 10rem; + max-width: 10rem; + width: 10rem; + } + + .question-header-summary-cell { + min-width: 7rem; + max-width: 7rem; + width: 7rem; + } + + #questions-data { + position: relative; + background: #FFF; + } + #questions-data tbody th { position: -webkit-sticky; /* for Safari */ position: sticky; @@ -63,6 +83,22 @@ @@ -123,32 +159,57 @@ + + + + + + + + + + + + + + + + +
+ + ${i.index + 1} + + +   + "> + + % +
+
+ -
-
-
-
-
+
- - - @@ -256,7 +317,7 @@ - + @@ -323,10 +384,6 @@
+ ${i.index + 1} +   "> + %
-
-
-
-