Limit the width of commit & snippet comment sections
What does this MR do?
Limits the width of the note sections for both commits & snippets. This matches the behaviour of merge requests.
Screenshots (if relevant)
What are the relevant issue numbers?
Closes #20920 (closed)