]> _ Git - fluidbook-toolbox-quiz.git/commitdiff
wip #6295 @0.25
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 19 Sep 2023 18:13:04 +0000 (20:13 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 19 Sep 2023 18:13:04 +0000 (20:13 +0200)
style/106-question-draganddrop.sass

index c744a64c23839b15608a0e43dd5f040c0fdbb746..0dcdb15d021edb478fc0539e61d6dedd540add32 100644 (file)
             transition: all .3s
             +radius(8px)
             padding: 7px 8px
-            font-size: 14px
+            font-size: 12px
             margin-bottom: 8px
 
+            h4
+                font-size: 1.25em
+                font-weight: 600
+                max-height: 1.1em
+                overflow: hidden
+                text-align: left
+
+            p
+                font-size: 1em
+                font-weight: 400
+                max-height: 1em
+                overflow: hidden
+                text-align: left
+                white-space: pre-line
+                margin-top: 3px
+
 
             &.active
                 background-color: rgba(0, 0, 0, 0.25)
                 +radius(16px)
                 padding: 20px
                 border: 2px solid transparent
+                font-size: 16px
+                overflow: hidden
 
                 h4
-                    font-size: 20px
+                    font-size: 1.25em
                     font-weight: 600
 
                 p
-                    font-size: 16px
+                    font-size: 1em
                     font-weight: 400
                     margin-top: 5px
                     white-space: pre-line