]> _ Git - fluidbook-toolbox-quiz.git/commitdiff
wait #6460 @0:30
authorsoufiane <soufiane@cubedesigners.com>
Wed, 8 Nov 2023 12:59:33 +0000 (13:59 +0100)
committersoufiane <soufiane@cubedesigners.com>
Wed, 8 Nov 2023 12:59:33 +0000 (13:59 +0100)
js/quiz.accessibility.js
style/100-global.sass
style/103-question-multiple.sass

index 37b0c5eab6aa5bcf13a1018becc004bf8003dd8a..3dd5af824eaa81c493e6adf4016bf1366fa58e87 100644 (file)
@@ -22,7 +22,18 @@ QuizAccessibility.prototype = {
                 });
             }
         });
+
+        $('span.access').each(function() {
+            $this.hideButton($(this))
+        })
     },
+
+    hideButton: function($el) {
+        let status = this.quiz.data.accessibility_show_hotkeys
+        if(status) {
+            $el.hide()
+        }
+    }
 }
 
 export default QuizAccessibility;
index db2e7b902b21ba72f0eca8dab3e4e335bd14e86a..c27793ff06a62c1af358b64ae0c7dd7a626f0955 100644 (file)
@@ -82,11 +82,16 @@ body
     &.secondary
         +opacity(.16)
         padding-left: 22px
+        padding-right: 6px
 
     &.reset
         //max-width: 144px
         .text svg
             width: 50%
+        .text
+            margin-right: 16px
+        .access
+            margin: 0 10px 0 0
 
     &.info
         max-width: 177px
@@ -183,9 +188,10 @@ body
             width: 56px
             flex-shrink: 0
             padding: 0
-
             .text
                 +flex-config(center, false, false, center)
+                margin-right: 0
+
 
     .access:not(.missed):not(.ok):not(.nok)
         display: none
index 5a95e1f9212b82863e96eb6d7aa1f8b8f6d9f48b..f96a85a44efc83aa5e4ea2ef4c5e3c4b5d82e498 100644 (file)
@@ -13,6 +13,7 @@
 
         &-item
             opacity: 0
+            display: flex
             label
                 width: 100%
                 height: auto
@@ -24,6 +25,7 @@
                 position: relative
                 overflow: hidden
                 display: flex
+                min-height: 54px
                 &:after
                     content: ""
                     width: 100%