web: improve styling for application list

This commit is contained in:
Jens Langhammer 2021-03-11 10:56:22 +01:00
parent 9a524dd671
commit d8f106b976
1 changed files with 12 additions and 1 deletions

View File

@ -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<Application> {
});
}
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(""),