Remove width constraints on vault form for mobile compatibility

This commit is contained in:
russell@unturf.com 2026-01-23 10:45:36 -05:00
parent b14e43f200
commit f7bb6fecae

View file

@ -373,12 +373,12 @@ async function openUncloseaiEmbeddedModalNew() {
// Vault locked or doesn't exist - show centered prompt using CSS grid
vaultSection.style.display = 'grid';
vaultSection.style.placeItems = 'center';
vaultSection.style.minHeight = '300px';
vaultSection.style.border = 'none';
vaultSection.style.padding = '20px';
const hasVault = UncloseVault.hasVault();
const promptUI = document.createElement("div");
promptUI.style.cssText = 'display: grid; gap: 12px; max-width: 320px; width: 100%; text-align: center;';
promptUI.style.cssText = 'display: grid; gap: 12px; width: 100%; text-align: center;';
promptUI.innerHTML = `
<div style="font-size: 0.95em; opacity: 0.9;">
${hasVault ? getUIText("vaultWelcomeBack") : getUIText("vaultLine1")}