We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7a83712 + 1702bec commit 258cbceCopy full SHA for 258cbce
lms/static/sass/base/_base.scss
@@ -272,4 +272,9 @@ a.nav-skip {
272
273
.fa {
274
font-family: 'FontAwesome' !important;
275
+}
276
+
277
+// Hide element when rendered in iFrame
278
+.hidden-element {
279
+ display: none !important;
280
}
lms/templates/main.html
@@ -126,6 +126,7 @@
126
}).call(this, require || RequireJS.require);
127
</script>
128
<script type="text/javascript" src="${static.url("lms/js/require-config.js")}"></script>
129
+ <script type="text/javascript" src="${static.url("lms/js/iframe-render.js")}"></script>
130
<%block name="js_overrides">
131
${render_require_js_path_overrides(settings.REQUIRE_JS_PATH_OVERRIDES) | n, decode.utf8}
132
</%block>
0 commit comments