# Set a max-height to the app header

XMLWordPrintable

#### Details

• Type: Improvement
• Status: Waiting for testing
• Priority: Minor
• Resolution: Unresolved
• Affects Version/s: 3.7.2
• Fix Version/s: None
• Component/s:
• Labels:
• Testing Instructions:
Hide

Test on one device of your choice.

1. In web as admin, enable the MathJax filter and allow it to be put in content and headings. Disable setting formatstringstriptags. On our master site is already configured.
2. Put some MathJax code in an activity name. Make sure to use the notation that puts the formulas in new lines ($$or [). (You can use Mobile dev testing course > Filter > Page with text filters activity.) 3. Open the activity in the app. 4. Check the header is not bigger than the previous page and the formula is shown if it fits. Show Test on one device of your choice. In web as admin, enable the MathJax filter and allow it to be put in content and headings. Disable setting formatstringstriptags. On our master site is already configured. Put some MathJax code in an activity name. Make sure to use the notation that puts the formulas in new lines ($$ or [). (You can use Mobile dev testing course > Filter > Page with text filters activity.) Open the activity in the app. Check the header is not bigger than the previous page and the formula is shown if it fits.
• Affected Branches:
MOODLE_37_STABLE
• Pull from Repository:
• Pull Master Branch:
• Sprint:
Moodle App 3.8.0

#### Description

I found a case (not a usual case) where the app header can be larger than expected:

1. In web as admin, enable the MathJax filter and allow it to be put in content and headings.
2. Put some MathJax code in an activity name. Make sure to use the notation that puts the formulas in new lines ( or [).
3. Open the activity in the app. The formulas are rendered in the header and it becomes quite large.

#### People

• Assignee:
Pau Ferrer
Reporter:
Dani Palou
Peer reviewer:
Dani Palou
Integrator:
Juan Leyva
Tester:
Isabel Renedo Rouco
Participants:
Component watchers: