Skip to content

Commit 3e34909

Browse files
committed
make input fields in /account/edit fill full card width
1 parent d3bf271 commit 3e34909

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

public/js/app.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1410,7 +1410,7 @@ function renderAccountEdit() {
14101410
<div class="account-grid">
14111411
<div class="card">
14121412
<h2 class="card-title" style="margin-bottom:20px">Change Email</h2>
1413-
<form id="change-email-form" style="max-width:480px">
1413+
<form id="change-email-form" style="width:100%">
14141414
<div class="form-group">
14151415
<label for="acc-new-email">New Email</label>
14161416
<input type="email" id="acc-new-email" placeholder="${state.user?.email || 'Enter new email'}" required />
@@ -1425,7 +1425,7 @@ function renderAccountEdit() {
14251425
14261426
<div class="card">
14271427
<h2 class="card-title" style="margin-bottom:20px">Change Password</h2>
1428-
<form id="change-password-form" style="max-width:480px">
1428+
<form id="change-password-form" style="width:100%">
14291429
<div class="form-group">
14301430
<label for="acc-current-pw">Current Password</label>
14311431
<input type="password" id="acc-current-pw" placeholder="Enter current password" required autocomplete="current-password" />
@@ -1449,7 +1449,7 @@ function renderAccountEdit() {
14491449
Generate one at <a href="https://panel.zero-host.org/account/api" target="_blank">panel.zero-host.org/account/api</a>.
14501450
</p>
14511451
<div id="api-key-section-content">
1452-
<form id="api-key-form" style="max-width:480px">
1452+
<form id="api-key-form" style="width:100%">
14531453
<div class="form-group">
14541454
<label for="ptero-api-key-input">API Key</label>
14551455
<input type="password" id="ptero-api-key-input" placeholder="ptla_..." autocomplete="off" />
@@ -1534,7 +1534,7 @@ function renderApiKeySaved() {
15341534
function renderApiKeyForm() {
15351535
const section = $('#api-key-section-content');
15361536
section.innerHTML = html`
1537-
<form id="api-key-form" style="max-width:480px">
1537+
<form id="api-key-form" style="width:100%">
15381538
<div class="form-group">
15391539
<label for="ptero-api-key-input">API Key</label>
15401540
<input type="password" id="ptero-api-key-input" placeholder="ptla_..." autocomplete="off" />

0 commit comments

Comments
 (0)