From 6bbb5c4b8c629b48872313009a6840ad1f01becc Mon Sep 17 00:00:00 2001 From: Oliver Foster Date: Tue, 8 Oct 2024 10:44:17 +0100 Subject: [PATCH] New: Added mcq support for _canShowCorrectness (#527) --- less/plugins/adapt-contrib-mcq/mcq.less | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/less/plugins/adapt-contrib-mcq/mcq.less b/less/plugins/adapt-contrib-mcq/mcq.less index bc7b0725..07d2d5cc 100644 --- a/less/plugins/adapt-contrib-mcq/mcq.less +++ b/less/plugins/adapt-contrib-mcq/mcq.less @@ -45,3 +45,19 @@ padding-inline: (@icon-size + (@item-padding * 2)) @item-padding; } } + +.mcq.can-show-correctness { + .mcq-item__state-correctness { + left: inherit; + right: @item-padding; + + .dir-rtl & { + right: inherit; + left: @item-padding; + } + } + + .mcq-item__text { + padding-inline: (@icon-size + (@item-padding * 2)); + } +}