diff --git a/polygerrit-ui/app/elements/gr-change-view.html b/polygerrit-ui/app/elements/gr-change-view.html index eede15ffec..2b66c3a974 100644 --- a/polygerrit-ui/app/elements/gr-change-view.html +++ b/polygerrit-ui/app/elements/gr-change-view.html @@ -90,6 +90,8 @@ limitations under the License. /* Strong specificity here is needed due to https://github.com/Polymer/polymer/issues/2531 */ .container section.changeInfo { + border-bottom: 1px solid #ddd; + display: flex; margin-top: 0; padding-top: 0; } @@ -97,15 +99,14 @@ limitations under the License. border-collapse: collapse; } td { - padding: 2px 5px; + padding: 2px 5px 2px 0; vertical-align: top; } gr-reviewer-list { min-width: 25em; } - .changeInfo-label { + .changeMetadata-label { font-weight: bold; - text-align: right; } .labelValue:not(:first-of-type) { margin-top: .25em; @@ -125,11 +126,15 @@ limitations under the License. gr-change-actions { margin-top: 1em; } - .summary { - border-top: 1px solid #ddd; - border-bottom: 1px solid #ddd; + .commitMessage { font-family: var(--monospace-font-family); - overflow-x: auto; + margin-left: 1em; + max-width: 72ch; + } + .commitMessage h4 { + font-family: var(--font-family); + font-weight: bold; + margin-bottom: .25em; } gr-file-list { padding: 0 var(--default-horizontal-margin) 10px; @@ -138,6 +143,15 @@ limitations under the License. border-top: 1px solid #ddd; padding: 0 var(--default-horizontal-margin); } + @media screen and (max-width: 55em) { + .changeInfo { + flex-direction: column; + } + .commitMessage { + margin-left: 0; + max-width: none; + } + }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Owner - -
Reviewers - -
Project[[_change.project]]
Branch[[_change.branch]]
Topic[[_change.topic]]
Strategy
Updated - -
- -
-
- + + Reviewers + + + + + + Project + [[_change.project]] + + + Branch + [[_change.branch]] + + + Topic + [[_change.topic]] + + + Strategy + + + + Updated + + + + + + + + +
+

Commit message

+ +