Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add "mobileBody" to course object #198

Open
chucklorenz opened this issue Oct 5, 2021 · 1 comment
Open

add "mobileBody" to course object #198

chucklorenz opened this issue Oct 5, 2021 · 1 comment
Labels
enhancement New feature or request question Further information is requested

Comments

@chucklorenz
Copy link
Member

course.json contains "body" text which is typically pulled into the course menu as opening content. It would be nice to have the option of "mobileBody" so that the length of content presented on desktop could differ from what's presented on mobile devices.

image

@chucklorenz chucklorenz added the enhancement New feature or request label Oct 5, 2021
@oliverfoster oliverfoster transferred this issue from adaptlearning/adapt_framework Jul 26, 2022
@oliverfoster oliverfoster added the question Further information is requested label Apr 24, 2023
@kirsty-hames
Copy link
Contributor

Hey @chucklorenz, this could be achieved using the Vanilla hide classes to display text based on screen size.

Granted, a property to set mobile text is more user friendly than using classes however the need to display alternative content for mobile could be specific to touch/no touch, screen size or orientation so the parameters for 'mobileBody' would vary for different authors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Development

No branches or pull requests

3 participants