Skip to content

Commit

Permalink
Address review comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
sbruens committed Feb 21, 2024
1 parent 385ae8f commit 04b8d0b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/www/views/servers_view/server_list/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ export class ServerList extends LitElement {
width: 100%;
}
/* TODO(daniellacosse): Remove the hard-coded heights. */
server-row-card {
margin: 0 auto 8px auto;
height: 130px;
Expand All @@ -47,11 +48,11 @@ export class ServerList extends LitElement {

render() {
if (this.hasSingleServer) {
return html` <server-hero-card .localize=${this.localize} .server="${this.servers[0]}"></server-hero-card> `;
return html`<server-hero-card .localize=${this.localize} .server=${this.servers[0]}></server-hero-card>`;
} else {
return html`
${this.servers.map(
server => html`<server-row-card .localize=${this.localize} .server="${server}"></server-row-card>`
server => html`<server-row-card .localize=${this.localize} .server=${server}></server-row-card>`
)}
`;
}
Expand Down

0 comments on commit 04b8d0b

Please sign in to comment.