Merge "PolyGerrit: Update css in gr-project-detail-list to better present data"

This commit is contained in:
Becky Siegel
2017-12-15 21:56:35 +00:00
committed by Gerrit Code Review

View File

@@ -34,7 +34,15 @@ limitations under the License.
<template>
<style include="gr-form-styles"></style>
<style include="shared-styles">
td.revision {
.tags td.name {
min-width: 25em;
}
td.name,
td.revision,
td.message {
word-break: break-word;
}
td.revision.tags {
width: 27em;
}
td.message,
@@ -48,7 +56,8 @@ limitations under the License.
.editing .editBtn,
.canEdit .revisionNoEditing,
.editing .revisionWithEditing,
.revisionEdit {
.revisionEdit,
.hideItem {
display: none;
}
.revisionEdit gr-button {
@@ -65,9 +74,6 @@ limitations under the License.
.deleteButton:not(.show) {
display: none;
}
.hideItem {
display: none;
}
.tagger.hide {
display: none;
}
@@ -100,8 +106,8 @@ limitations under the License.
<tbody class$="[[computeLoadingClass(_loading)]]">
<template is="dom-repeat" items="[[_shownItems]]">
<tr class="table">
<td class="name">[[_stripRefs(item.ref, detailType)]]</td>
<td class$="revision [[_computeCanEditClass(item.ref, detailType, _isOwner)]]">
<td class$="[[detailType]] name">[[_stripRefs(item.ref, detailType)]]</td>
<td class$="[[detailType]] revision [[_computeCanEditClass(item.ref, detailType, _isOwner)]]">
<span class="revisionNoEditing">
[[item.revision]]
</span>