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