Skip to content

Changing the question from single spaced to double - #87

Open
MasterOfGoats wants to merge 1 commit into
UDCS:mainfrom
MasterOfGoats:main
Open

MasterOfGoats wants to merge 1 commit into
UDCS:mainfrom
MasterOfGoats:main

Conversation

@MasterOfGoats

Copy link
Copy Markdown

I added the line
line-height: 2.0;
to .questionDescription in QuestionPanel.css to adjust the spacing between lines from single space to double space.

@Max-Harold

Max-Harold commented Sep 18, 2026

Copy link
Copy Markdown
Contributor

Nice start. I tested it and there is line spacing.

However, there is more to the task as outlined in issue #86
For example, the question description does not preserve line breaks, but you can do that with the CSS line white-space: pre-wrap; in web/src/components/question/QuestionPanel.css in the class .questionDescription. The assignment description should also have line breaks and line spacing.
Also, you need to change the TextAreas for the Assignment and Question description so that they grow as the text becomes longer. I outlined how to do that in issue #86

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants