Center vault form vertically with CSS grid place-content

This commit is contained in:
russell@unturf.com 2026-01-23 10:49:59 -05:00
parent f7bb6fecae
commit 0966857cc6

View file

@ -372,7 +372,9 @@ async function openUncloseaiEmbeddedModalNew() {
} else {
// Vault locked or doesn't exist - show centered prompt using CSS grid
vaultSection.style.display = 'grid';
vaultSection.style.placeItems = 'center';
vaultSection.style.placeContent = 'center';
vaultSection.style.height = '100%';
vaultSection.style.minHeight = '400px';
vaultSection.style.border = 'none';
vaultSection.style.padding = '20px';
const hasVault = UncloseVault.hasVault();