]> git.proxmox.com Git - proxmox-widget-toolkit.git/commitdiff
css: add centered-flex-column class
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 2 Jul 2021 21:56:19 +0000 (23:56 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 2 Jul 2021 21:56:19 +0000 (23:56 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/css/ext6-pmx.css

index 2f646da8aeeeba6a5bc9373915f1bb97313197d2..ff035734d131b8d0bebf7787c83627a266774b1e 100644 (file)
@@ -161,6 +161,15 @@ div.right-aligned {
     color: #333;
 }
 
+/* some general helper classes */
+.centered-flex-column {
+    display: flex;
+    justify-content: center;
+    flex-direction: column;
+    width: 100%;
+    height: 100%;
+}
+
 /* rules for the markdown content, prefix with the .pmx-md class */
 .pmx-md {
     font-size: 1.0em;