| commit | 305d592de75b5128dc5e4f4704162b6037080faa | [log] [tgz] |
|---|---|---|
| author | Dhruv Srivastava <dhruvsri@google.com> | Mon Nov 03 10:52:29 2025 +0530 |
| committer | Dhruv Srivastava <dhruvsri@google.com> | Sun Nov 02 21:27:50 2025 -0800 |
| tree | a42227342585783aafc16e1c9d9bdee32362ecac | |
| parent | cd0e9b96fbb607982b881b03361f7a27fb54205d [diff] |
Prevent title from overflowing into next line on small width Release-Notes: skip Bug: Google b/457064200 Change-Id: I661f5e8256a0ea9faea0964a3ffe740f793f6413
diff --git a/polygerrit-ui/app/elements/change/gr-change-view/gr-change-view.ts b/polygerrit-ui/app/elements/change/gr-change-view/gr-change-view.ts index 93195f3..54ab05b 100644 --- a/polygerrit-ui/app/elements/change/gr-change-view/gr-change-view.ts +++ b/polygerrit-ui/app/elements/change/gr-change-view/gr-change-view.ts
@@ -873,6 +873,9 @@ font-weight: var(--font-weight-h3); line-height: var(--line-height-h3); margin-left: var(--spacing-l); + line-break: anywhere; + whitespace: no-wrap; + overflow: auto; } .changeNumberColon { color: transparent; @@ -1112,9 +1115,6 @@ height: 90vh; width: initial; } - .headerSubject { - line-break: anywhere; - } } .patch-set-dropdown { margin: var(--spacing-m) 0 0 var(--spacing-m);
diff --git a/polygerrit-ui/app/elements/diff/gr-diff-view/gr-diff-view.ts b/polygerrit-ui/app/elements/diff/gr-diff-view/gr-diff-view.ts index 9725a58..95d552b 100644 --- a/polygerrit-ui/app/elements/diff/gr-diff-view/gr-diff-view.ts +++ b/polygerrit-ui/app/elements/diff/gr-diff-view/gr-diff-view.ts
@@ -567,6 +567,8 @@ margin-left: var(--spacing-s); margin-right: var(--spacing-m); font-weight: var(--font-weight-medium); + whitespace: no-wrap; + overflow: auto; } .patchRangeLeft { align-items: center;