Follow-up from "Remove border radius for diff comments"
<!--IssueSummary start--> <details> <summary> Everyone can contribute. [Help move this issue forward](https://handbook.gitlab.com/handbook/marketing/developer-relations/contributor-success/community-contributors-workflows/#contributor-links) while earning points, leveling up and collecting rewards. </summary> - [Close this issue](https://contributors.gitlab.com/manage-issue?action=close&projectId=278964&issueIid=576466) </details> <!--IssueSummary end--> The following discussion from !208361 should be addressed: From @clavimoniere's [suggestion](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/208361#note_2813655702): >>> Looks like this is the case. Here's a code comment thread in an archived project's MR: | Your changes | Prod | |--------------|------| | ![Screenshot 2025-10-10 at 12.11.49.png](/uploads/f854bfc50765ec14327d4b69a4d9697d/Screenshot_2025-10-10_at_12.11.49.png) | ![Screenshot 2025-10-10 at 12.12.31.png](/uploads/abcb7c993c5d5e8f6c1e8f14b868d19d/Screenshot_2025-10-10_at_12.12.31.png) | The same applies when the discussion is locked and you are not allowed to comment: | Your changes | Prod | |--------------|------| | ![Screenshot 2025-10-10 at 12.21.54.png](/uploads/4db6373b4413a1eca328279138cb5b7a/Screenshot_2025-10-10_at_12.21.54.png) | ![Screenshot 2025-10-10 at 12.23.02.png](/uploads/6d72f39e96bbc988d0a624e632be495f/Screenshot_2025-10-10_at_12.23.02.png) | It's not visible because there is no background/border, but your changes _do_ fix the styles of this element when the user is signed out: | Your changes | Prod | |--------------|------| | ![Screenshot 2025-10-10 at 12.18.39.png](/uploads/1ed1c0b883346a8f8107be795c01fa45/Screenshot_2025-10-10_at_12.18.39.png) | ![Screenshot 2025-10-10 at 12.18.13.png](/uploads/cbd15122fbe5465ef439f937166900fc/Screenshot_2025-10-10_at_12.18.13.png) | So I think instead of removing this, some other conditional application is necessary, because sometimes this does need to be rounded (seems like only when the project is archived or discussion is locked and the current user can't comment?) >>>
issue