web: Fix inline documentation rendering (#13379)
web: Fix issues surrounding markdown rendering. - Fix issue where Mermaid diagrams do not render. - Fix link colors in dark mode. - Fix anchored links triggering router. - Fix issue where links occasionally link to missing page.
This commit is contained in:
		| @ -8,6 +8,7 @@ import { localized } from "@lit/localize"; | ||||
| import { LitElement, ReactiveElement } from "lit"; | ||||
|  | ||||
| import AKGlobal from "@goauthentik/common/styles/authentik.css"; | ||||
| import OneDark from "@goauthentik/common/styles/one-dark.css"; | ||||
| import ThemeDark from "@goauthentik/common/styles/theme-dark.css"; | ||||
|  | ||||
| import { Config, CurrentBrand, UiThemeEnum } from "@goauthentik/api"; | ||||
| @ -70,6 +71,7 @@ export class AKElement extends LitElement { | ||||
|         styleRoot.adoptedStyleSheets = adaptCSS([ | ||||
|             ...styleRoot.adoptedStyleSheets, | ||||
|             ensureCSSStyleSheet(AKGlobal), | ||||
|             ensureCSSStyleSheet(OneDark), | ||||
|         ]); | ||||
|         this._initTheme(styleRoot); | ||||
|         this._initCustomCSS(styleRoot); | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Teffen Ellis
					Teffen Ellis