Copilot commented on code in PR #3790: URL: https://github.com/apache/texera/pull/3790#discussion_r2392840642
########## core/gui/src/app/dashboard/component/user/user-avatar/user-avatar.component.html: ########## @@ -16,20 +16,13 @@ specific language governing permissions and limitations under the License. --> - -<div - class="d-inline-block avatar-wrapper" - style="position: relative"> - <nz-avatar - [nzAlt]="" - [nzSrc]="(avatarUrl$ | async) || ''" - [nzText]="abbreviate(userName || '')" - [style.background-color]="userColor" - class="texera-user-avatar"> - </nz-avatar> - <span - *ngIf="isOwner" - class="owner-badge" - >★</span - > -</div> +<nz-avatar + [nzSrc]="(avatarUrl$ | async) || ''" + [nzText]="abbreviate(userName || '')" + [style.background-color]="userColor"> +</nz-avatar> +<span + *ngIf="isOwner" + class="owner-badge" + >★</span +> Review Comment: The owner badge span now lacks proper positioning context after removing the wrapper div. The CSS for .owner-badge uses `position: absolute` which requires a positioned parent container. Consider adding `position: relative` to the nz-avatar element or wrapping the avatar and badge in a positioned container. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
