diff options
author | adityacp | 2020-09-07 13:43:09 +0530 |
---|---|---|
committer | adityacp | 2020-09-07 13:43:09 +0530 |
commit | 2d1b8eb907c7e142d4e3c76e43707fb9f82d6683 (patch) | |
tree | a217c53574e0b88c203b72e5561a3da13c6c5a26 /yaksh/static | |
parent | 7e5608d0853d69358c14f9fb8fbd6465e21b8962 (diff) | |
download | online_test-2d1b8eb907c7e142d4e3c76e43707fb9f82d6683.tar.gz online_test-2d1b8eb907c7e142d4e3c76e43707fb9f82d6683.tar.bz2 online_test-2d1b8eb907c7e142d4e3c76e43707fb9f82d6683.zip |
Show the lesson contents on student interface
Diffstat (limited to 'yaksh/static')
-rw-r--r-- | yaksh/static/yaksh/css/custom.css | 16 | ||||
-rw-r--r-- | yaksh/static/yaksh/js/lesson.js | 1 |
2 files changed, 17 insertions, 0 deletions
diff --git a/yaksh/static/yaksh/css/custom.css b/yaksh/static/yaksh/css/custom.css index b737090..a3d5c79 100644 --- a/yaksh/static/yaksh/css/custom.css +++ b/yaksh/static/yaksh/css/custom.css @@ -145,3 +145,19 @@ body, .dropdown-menu { .CodeMirror-fullscreen .CodeMirror-scroll { max-height: none !important; } + +::-webkit-scrollbar { + width: 10px; +} + +::-webkit-scrollbar { + // Width of vertical scroll bar + width: 8px; + // Height of horizontal scroll bar + height: 10px; + +} +::-webkit-scrollbar-thumb { +border-radius: 8px; +background: #c2c9d2; +}
\ No newline at end of file diff --git a/yaksh/static/yaksh/js/lesson.js b/yaksh/static/yaksh/js/lesson.js index 92038c9..0558bd0 100644 --- a/yaksh/static/yaksh/js/lesson.js +++ b/yaksh/static/yaksh/js/lesson.js @@ -1,6 +1,7 @@ $(document).ready(function() { var simplemde = new SimpleMDE({ element: document.getElementById("id_description"), + forceSync: true, }); const player = new Plyr('#player'); var timer = $("#vtimer"); |