web/admin: decrease wizard hint padding (#7227)

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
Jens L 2023-10-19 17:59:08 +02:00 committed by GitHub
parent f036820fd8
commit 4686796543
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 2 deletions

View File

@ -11,7 +11,7 @@ import "@goauthentik/elements/buttons/ActionButton/ak-action-button";
import { getURLParam } from "@goauthentik/elements/router/RouteMatch"; import { getURLParam } from "@goauthentik/elements/router/RouteMatch";
import { msg } from "@lit/localize"; import { msg } from "@lit/localize";
import { html } from "lit"; import { css, html } from "lit";
import { customElement, property, state } from "lit/decorators.js"; import { customElement, property, state } from "lit/decorators.js";
import { styleMap } from "lit/directives/style-map.js"; import { styleMap } from "lit/directives/style-map.js";
@ -36,7 +36,17 @@ const closeButtonIcon = html`<svg
@customElement("ak-application-wizard-hint") @customElement("ak-application-wizard-hint")
export class AkApplicationWizardHint extends AKElement implements ShowHintControllerHost { export class AkApplicationWizardHint extends AKElement implements ShowHintControllerHost {
static get styles() { static get styles() {
return [PFButton, PFPage, PFLabel]; return [
PFButton,
PFPage,
PFLabel,
css`
.pf-c-page__main-section {
padding-top: 0;
padding-bottom: 0;
}
`,
];
} }
@property({ type: Boolean, attribute: "show-hint" }) @property({ type: Boolean, attribute: "show-hint" })