Remove width constraints on vault form for mobile compatibility
This commit is contained in:
parent
b14e43f200
commit
f7bb6fecae
1 changed files with 2 additions and 2 deletions
|
|
@ -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")}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue