Fix layout of "has been merged" warning in reply dialog

Bug: Issue 12289
Change-Id: I1b977daf0cf7305cfebf6bae07e83e6a82bf97c1
This commit is contained in:
Ben Rohlfs
2020-02-06 12:46:08 +01:00
parent 76e1d849ee
commit 637c4fb2a8

View File

@@ -23,7 +23,7 @@ limitations under the License.
<dom-module id="gr-label-scores">
<template>
<style include="shared-styles">
:host {
.scoresTable {
display: table;
width: 100%;
}
@@ -42,15 +42,17 @@ limitations under the License.
display: var(--label-no-access-display, table-row);
}
</style>
<template is="dom-repeat" items="[[_labels]]" as="label">
<gr-label-score-row
class$="[[_computeLabelAccessClass(label.name, permittedLabels)]]"
label="[[label]]"
name="[[label.name]]"
labels="[[change.labels]]"
permitted-labels="[[permittedLabels]]"
label-values="[[_labelValues]]"></gr-label-score-row>
</template>
<div class="scoresTable">
<template is="dom-repeat" items="[[_labels]]" as="label">
<gr-label-score-row
class$="[[_computeLabelAccessClass(label.name, permittedLabels)]]"
label="[[label]]"
name="[[label.name]]"
labels="[[change.labels]]"
permitted-labels="[[permittedLabels]]"
label-values="[[_labelValues]]"></gr-label-score-row>
</template>
</div>
<div class="mergedMessage"
hidden$="[[!_changeIsMerged(change.status)]]">
Because this change has been merged, votes may not be decreased.