Skip to content

Commit

Permalink
web/user: fix search input styling (goauthentik#5745)
Browse files Browse the repository at this point in the history
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
  • Loading branch information
BeryJu authored and ChandonPierre committed Jun 1, 2023
1 parent 83fa53f commit ac345a4
Showing 1 changed file with 19 additions and 2 deletions.
21 changes: 19 additions & 2 deletions web/src/user/LibraryPage/ApplicationSearch.ts
Expand Up @@ -4,7 +4,7 @@ import Fuse from "fuse.js";

import { t } from "@lingui/macro";

import { html } from "lit";
import { css, html } from "lit";
import { customElement, property, query } from "lit/decorators.js";
import { ifDefined } from "lit/directives/if-defined.js";

Expand All @@ -18,7 +18,24 @@ import { customEvent } from "./helpers";

@customElement("ak-library-list-search")
export class LibraryPageApplicationList extends AKElement {
static styles = [PFBase, PFDisplay];
static styles = [
PFBase,
PFDisplay,
css`
input {
width: 30ch;
box-sizing: border-box;
border: 0;
border-bottom: 1px solid;
border-bottom-color: var(--ak-accent);
background-color: transparent;
font-size: 1.5rem;
}
input:focus {
outline: 0;
}
`,
];

@property()
apps: Application[] = [];
Expand Down

0 comments on commit ac345a4

Please sign in to comment.