Merge pull request #2741 from brkcvn/master

Code refactoring for animate marquee
This commit is contained in:
Burak Civan 2022-11-15 10:40:32 +03:00 committed by GitHub
commit b20665c7f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -429,6 +429,7 @@ document.querySelectorAll('[data-index-icon]').forEach((defaultText) => {
if (icon_parents_element.classList.contains('flex')) {
icon_parents_element.appendChild(defaultText);
icon_parents_element.classList.remove('truncate');
} else {
if (icon_parents_element.classList.contains('overflow-x-hidden')) {
icon_parents_element.parentElement.appendChild(defaultText);