Commit 36d01e4e by solashirai Committed by Piotr Mitros

removed columns

parent b64177b8
...@@ -211,7 +211,6 @@ class CrowdsourceHinter(XBlock): ...@@ -211,7 +211,6 @@ class CrowdsourceHinter(XBlock):
# corresponding incorrect answer # corresponding incorrect answer
feedback_data = {} feedback_data = {}
number_of_hints = 0 number_of_hints = 0
# TODO: possibly simply check here whether or not user is staff
if data['isStaff'] == 'true': if data['isStaff'] == 'true':
for answer_keys in self.hint_database: for answer_keys in self.hint_database:
if str(len(self.hint_database[str(answer_keys)])) != str(0): if str(len(self.hint_database[str(answer_keys)])) != str(0):
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
.csh_hint_value{ .csh_hint_value{
display: flex; display: flex;
margin-left: 10px; margin-left: 10px;
column-count: 2; /*column-count: 2;*/
} }
.csh_rating_data{ .csh_rating_data{
...@@ -28,6 +28,8 @@ ...@@ -28,6 +28,8 @@
.csh_hint_data{ .csh_hint_data{
width: 97%; width: 97%;
display: flex;
flex-direction: column;
} }
.csh_rate_hint { .csh_rate_hint {
...@@ -37,8 +39,7 @@ ...@@ -37,8 +39,7 @@
} }
div[data-rate="flag"]{ div[data-rate="flag"]{
position: relative; align-self: flex-end;
float: right;
} }
div[data-rate="upvote"] { div[data-rate="upvote"] {
......
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