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

ELEMENTS-1731: fix display of long username under activity section #908

Conversation

alokhyland
Copy link
Contributor

No description provided.

const childNodes = Array.from(parentElement.children);
const userAvatar = Array.from(selectedElement.shadowRoot.querySelectorAll('.user-avatar'));
const userAvatarWidth = userAvatar[0].offsetWidth;
const toatlAvatarWidth = userAvatar.length * userAvatarWidth;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rectify spelling

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@alokhyland alokhyland force-pushed the fix-ELEMENTS-1731-fix-display-of-long-username-under-activity-section-3.1.x branch 3 times, most recently from 4ae6015 to 42df0f6 Compare April 30, 2024 10:49
@alokhyland alokhyland force-pushed the fix-ELEMENTS-1731-fix-display-of-long-username-under-activity-section-3.1.x branch from 42df0f6 to a3d027f Compare May 8, 2024 11:08
Copy link
Contributor

@rakeshkumar1019 rakeshkumar1019 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved

@alokhyland alokhyland merged commit bfde0d9 into maintenance-3.1.x May 17, 2024
7 checks passed
@alokhyland alokhyland deleted the fix-ELEMENTS-1731-fix-display-of-long-username-under-activity-section-3.1.x branch May 17, 2024 04:24
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.

4 participants