Skip to content

Commit

Permalink
web: fix display of multiple buttons in descriptor list
Browse files Browse the repository at this point in the history
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
  • Loading branch information
BeryJu committed May 14, 2022
1 parent 91aee65 commit 6df6772
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions web/src/authentik.css
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,11 @@ html > form > input {
vertical-align: middle;
}

.pf-c-description-list__description .pf-c-button {
margin-right: 6px;
margin-bottom: 6px;
}

@media (prefers-color-scheme: dark) {
.ak-static-page h1 {
color: var(--ak-dark-foreground);
Expand Down
3 changes: 2 additions & 1 deletion web/src/pages/flows/FlowViewPage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,8 @@ export class FlowViewPage extends LitElement {
`inspector&next=/#${window.location.hash}`,
)}`;
window.open(finalURL, "_blank");
}).catch((exc: Response) => {
})
.catch((exc: Response) => {
// This request can return a HTTP 400 when a flow
// is not applicable.
window.open(exc.url, "_blank");
Expand Down

0 comments on commit 6df6772

Please sign in to comment.