Skip to content

Commit

Permalink
fix: do not shrink row content if there are a lot of metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
leleueri authored and gaetanmaisse committed Sep 16, 2021
1 parent dc72feb commit 053a1ab
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/molecules/gv-row.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export class GvRow extends withResizeObserver(ItemResource(LitElement)) {
.row:not(.error) {
display: grid;
grid-template-columns: calc(var(--gv-row-image--w, 35px) + 5px) 1fr auto;
grid-template-columns: calc(var(--gv-row-image--w, 35px) + 5px) auto fit-content(20%);
grid-gap: 10px;
align-items: center;
}
Expand Down Expand Up @@ -197,9 +197,9 @@ export class GvRow extends withResizeObserver(ItemResource(LitElement)) {
</div>
<div class="${classMap({ meta: true, skeleton: this._skeleton })}">
<div class="meta__owner">
${owner != null && owner.trim().length > 0 ? html`<gv-icon shape="general:user" size="8px"></gv-icon>${owner}</div>` : ''}
${this.small !== true ? html`<div class="meta__tags">${this._renderLabels()}</div>` : ''}
${owner != null && owner.trim().length > 0 ? html`<gv-icon shape="general:user" size="8px"></gv-icon>${owner}` : ''}
</div>
${this.small !== true ? html`<div class="meta__tags">${this._renderLabels()}</div>` : ''}
</div>
`}
</div>
Expand Down

0 comments on commit 053a1ab

Please sign in to comment.