Show reviewers next to each other

This affects only <gr-reviewer-list>, which is only used in
<gr-change-metadata>.

The goal is show more reviewers using the same amount of space. With the
new ability to show first names only two reviewers easily fit on one
row. So the metadata will consume less vertical space, or we can show
more reviewers using the same space.

Example screenshots:
Before: https://imgur.com/a/FmvUk6L
After: https://imgur.com/a/CHlM5vo

Change-Id: I23dd2080a7f0526f2d258f92c0bf8b6d356ea05b
This commit is contained in:
Dmitrii Filippov
2020-03-18 15:31:59 +01:00
committed by Ben Rohlfs
parent 9fcb519992
commit bcf84d2ea4
5 changed files with 58 additions and 80 deletions

View File

@@ -34,6 +34,7 @@ $_documentContainer.innerHTML = `<dom-module id="gr-change-metadata-shared-style
.title,
.value {
display: table-cell;
vertical-align: top;
}
.title {
@@ -43,10 +44,6 @@ $_documentContainer.innerHTML = `<dom-module id="gr-change-metadata-shared-style
padding-right: var(--metadata-horizontal-padding);
word-break: break-word;
}
.value {
padding-right: var(--metadata-horizontal-padding);
}
</style>
</template>
</dom-module>`;