adaptlearning/adapt-contrib-vanilla

AAT: Default values for background image styles

Closed this issue ยท 1 comments

Subject of the issue

Currently in the AAT, there are no default values for Background Image Styles. Instead, the dropdown menus are initially set to nothing.

Although there are default styles within the Less/CSS, I think it would be less ambiguous for course creators if the default values were already populated in the form fields. Otherwise, you leave users scratching their heads about whether they need to choose values for the fields.

I would like to see the default Less/CSS values applied to the schemas for the following fields:

  • _backgroundRepeat: no-repeat
  • _backgroundSize: cover
  • _backgroundPosition: center top

In general, I think all dropdowns should have a default value, so we could also do this for Text alignment and any other fields without defaults.

Question: Is there a reason why these defaults are not set? If not, I can throw a PR together for this.

๐ŸŽ‰ This issue has been resolved in version 9.8.2 ๐ŸŽ‰

The release is available on GitHub release

Your semantic-release bot ๐Ÿ“ฆ๐Ÿš€