web/elements: fix alignment for checkboxes in table

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2022-12-22 17:31:06 +01:00
parent 7143ea08e6
commit 30f4a09a88
No known key found for this signature in database
1 changed files with 6 additions and 1 deletions

View File

@ -12,7 +12,7 @@ import "@goauthentik/elements/table/TableSearch";
import { t } from "@lingui/macro";
import { CSSResult, TemplateResult, html } from "lit";
import { CSSResult, TemplateResult, css, html } from "lit";
import { property, state } from "lit/decorators.js";
import { ifDefined } from "lit/directives/if-defined.js";
@ -157,6 +157,11 @@ export abstract class Table<T> extends AKElement {
PFDropdown,
PFPagination,
AKGlobal,
css`
.pf-c-table tbody .pf-c-table__check input {
margin-top: calc(var(--pf-c-table__check--input--MarginTop) + 1px);
}
`,
];
}