web/elements: fix center text not scrolling with container (#4853)

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
Jens L 2023-03-06 23:21:16 +01:00 committed by GitHub
parent f6a8b3d568
commit d834ec4db9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -72,6 +72,7 @@ export abstract class AKChart<T> extends AKElement {
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
position: relative;
} }
.container > span { .container > span {
position: absolute; position: absolute;