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

Put Less into math mode 'always' #639

Merged
merged 1 commit into from
Dec 5, 2024

Conversation

JulianKniephoff
Copy link
Member

@JulianKniephoff JulianKniephoff commented Dec 2, 2024

The upgrade to v4 of Less in b154c7b introduced some changes that broke our version of Bootstrap. Specifically, division in .less files now has to be in parantheses by default. We fixed a few instances of that in the vendored files, but missed many others.

Instead of futzing around with these files even more, this patch puts Less in a compatibility mode. Note: This mode is deprecated, so this is only a temporary solution, until we find the time and money to update Bootstrap.

Fixes #632.

@jduehring
Copy link
Contributor

Looks good to me. Tested editing existing annotations, adding new content as described in the issue as well as various other actions. I did not experience any freezes anymore.

The upgrade to v4 of Less in b154c7b
introduced some changes that broke our version of Bootstrap.
Specifically, division in `.less` files now has to be in parantheses by default.
We fixed a few instances of that in the vendored files,
but missed many others.

Instead of futzing around with these files even more,
this patch puts Less in a compatibility mode.
**Note**: This mode is deprecated, so this is only a temporary solution,
until we find the time and money to update Bootstrap.

Fixes opencast#632.
@dagraf
Copy link
Collaborator

dagraf commented Dec 3, 2024

It now works as expected. Thx for the fix!

@JulianKniephoff JulianKniephoff merged commit 563770b into opencast:master Dec 5, 2024
@JulianKniephoff JulianKniephoff deleted the fix-less-upgrade branch December 5, 2024 11:23
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.

Adding content and editing an existing annotation (with the pen icon) is not possible
3 participants