Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
problem-builder
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
problem-builder
Commits
18243ce2
Commit
18243ce2
authored
Mar 28, 2015
by
Braden MacDonald
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fwd port fix to OC-545 (Issues in scrollbars in Feedback pop up for large data)
parent
1b66d3cd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
problem_builder/public/css/questionnaire.css
+2
-2
problem_builder/public/js/questionnaire.js
+6
-0
No files found.
problem_builder/public/css/questionnaire.css
View file @
18243ce2
...
...
@@ -32,9 +32,8 @@
background
:
none
repeat
scroll
0
0
#66A5B5
;
font-family
:
arial
;
font-size
:
14px
;
overflow-y
:
auto
;
opacity
:
0.9
;
padding
:
10px
;
padding
:
22px
10px
;
width
:
300px
;
}
...
...
@@ -48,6 +47,7 @@
.mentoring
.questionnaire
.feedback
.tip-choice-group
,
.mentoring
.questionnaire
.feedback
.message-content
{
position
:
relative
;
overflow-y
:
auto
;
}
.mentoring
.questionnaire
.choice-tips
.close
,
...
...
problem_builder/public/js/questionnaire.js
View file @
18243ce2
...
...
@@ -20,15 +20,21 @@ function MessageView(element, mentoring) {
var
data
=
$
(
tip
).
data
();
if
(
data
&&
data
.
width
)
{
popupDOM
.
css
(
'width'
,
data
.
width
);
popupDOM
.
find
(
'.tip-choice-group'
).
css
(
'width'
,
data
.
width
);
}
else
{
popupDOM
.
css
(
'width'
,
''
);
popupDOM
.
find
(
'.tip-choice-group'
).
css
(
'width'
,
''
);
}
if
(
data
&&
data
.
height
)
{
popupDOM
.
css
(
'height'
,
data
.
height
);
}
else
{
popupDOM
.
css
(
'height'
,
''
);
popupDOM
.
css
(
'maxHeight'
,
''
);
}
// .tip-choice-group should always be the same height as the popup
// for scrolling to work properly.
popupDOM
.
find
(
'.tip-choice-group'
).
height
(
popupDOM
.
height
());
var
container
=
popupDOM
.
parent
(
'.choice-tips-container'
);
if
(
container
.
length
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment