Commit c8fd0f85 by Piotr Mitros

Workarounds for edX platform CSS issues

parent 3a006d53
......@@ -150,7 +150,7 @@ class RateXBlock(XBlock):
prompt = self.get_prompt(0)
frag = Fragment(unicode(html_str).format(**prompt))
js_str = pkg_resources.resource_string(__name__, "static/js/src/studio.js")
frag.add_javascript(unicode(js_str))
#frag.add_javascript(unicode(js_str))
frag.initialize_js('RateBlock')
return frag
......
......@@ -28,6 +28,10 @@
margin-bottom: 1em;
}
.rate_block .rate_freeform_area {
height:inherit;
}
.rate_block .rate_rating_active {
color: blue;
font-weight: bold;
......@@ -53,6 +57,10 @@
overflow:hidden;
}
.rate_block label{
display:inline;
}
.rate_block input[type="radio"]:checked + label{
background-color:yellow;
font-weight:bold;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment