web/elements: fix alignment for checkboxes in table
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
7143ea08e6
commit
30f4a09a88
|
@ -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);
|
||||
}
|
||||
`,
|
||||
];
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue