From d8f106b976b046335c0e2eb98c52161b9efff6e1 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Thu, 11 Mar 2021 10:56:22 +0100 Subject: [PATCH] web: improve styling for application list --- web/src/pages/applications/ApplicationListPage.ts | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/web/src/pages/applications/ApplicationListPage.ts b/web/src/pages/applications/ApplicationListPage.ts index b127c1815..73f0c1c5c 100644 --- a/web/src/pages/applications/ApplicationListPage.ts +++ b/web/src/pages/applications/ApplicationListPage.ts @@ -1,5 +1,5 @@ import { gettext } from "django"; -import { customElement, html, property, TemplateResult } from "lit-element"; +import { css, CSSResult, customElement, html, property, TemplateResult } from "lit-element"; import { AKResponse } from "../../api/Client"; import { TablePage } from "../../elements/table/TablePage"; @@ -38,6 +38,17 @@ export class ApplicationListPage extends TablePage { }); } + static get styles(): CSSResult[] { + return super.styles.concat(css` + tr td:first-child { + width: auto; + min-width: 0px; + text-align: center; + vertical-align: middle; + } + `); + } + columns(): TableColumn[] { return [ new TableColumn(""),