diff options
author | alyssaf16 <alyssa_feinberg@brown.edu> | 2024-07-24 15:23:46 -0400 |
---|---|---|
committer | alyssaf16 <alyssa_feinberg@brown.edu> | 2024-07-24 15:23:46 -0400 |
commit | 54c5ef5774b001e8acd4feb2e44e010d050cc687 (patch) | |
tree | e763c28edbb6fff2482d3e0641dab950d06cebcd /src/client/views/nodes/formattedText/FormattedTextBox.tsx | |
parent | e82c95293bb2d9db32fc9901f57f1997b74597c1 (diff) |
drag boxes
Diffstat (limited to 'src/client/views/nodes/formattedText/FormattedTextBox.tsx')
-rw-r--r-- | src/client/views/nodes/formattedText/FormattedTextBox.tsx | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/client/views/nodes/formattedText/FormattedTextBox.tsx b/src/client/views/nodes/formattedText/FormattedTextBox.tsx index b00437cf2..1aeb90286 100644 --- a/src/client/views/nodes/formattedText/FormattedTextBox.tsx +++ b/src/client/views/nodes/formattedText/FormattedTextBox.tsx @@ -2095,7 +2095,12 @@ export class FormattedTextBox extends ViewBoxAnnotatableComponent<FormattedTextB @computed get answerIcon() { return ( - <Tooltip title={<div className="answer-tooltip">{StrCast(this.Document.quiz)}</div>}> + <Tooltip + title={ + <div className="answer-tooltip" style={{ minWidth: '200px' }}> + {StrCast(this.Document.quiz)} + </div> + }> <div className="answer-tool-tip"> <FontAwesomeIcon className="q-icon" icon="circle" color="white" /> <FontAwesomeIcon className="answer-icon" icon="question" /> |