Clean up CSS for index.html (#3039)

This commit is contained in:
Jon Koops 2022-08-03 13:40:47 +02:00 committed by GitHub
parent 3f59e86ae0
commit 533c954f4c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,21 +7,18 @@
<meta name="description" content="Web site to manage keycloak" /> <meta name="description" content="Web site to manage keycloak" />
<title>Keycloak Administration Console</title> <title>Keycloak Administration Console</title>
<style> <style>
body {
margin: 0;
}
body, #app { body, #app {
height: 100%; height: 100%;
} }
.container, .container {
.container-fluid,
#load-container {
padding: 0; padding: 0;
margin: 0; margin: 0;
} width: 100%;
.container,
.container-fluid,
#load-container {
width: 100vw;
} }
.keycloak__loading-container { .keycloak__loading-container {
@ -45,7 +42,7 @@
</head> </head>
<body> <body>
<div id="app"> <div id="app">
<div class="container container-fluid" id="load-container"> <div class="container">
<div class="keycloak__loading-container"> <div class="keycloak__loading-container">
<span class="pf-c-spinner pf-m-xl" role="progressbar" aria-valuetext="Loading..."> <span class="pf-c-spinner pf-m-xl" role="progressbar" aria-valuetext="Loading...">
<span class="pf-c-spinner__clipper"></span> <span class="pf-c-spinner__clipper"></span>
@ -60,5 +57,6 @@
</div> </div>
<noscript>You need to enable JavaScript to run this app.</noscript> <noscript>You need to enable JavaScript to run this app.</noscript>
<script type="module" src="/src/main.tsx"></script> </body> <script type="module" src="/src/main.tsx"></script>
</body>
</html> </html>