Skip to content

Commit

Permalink
style: mobile width for pw request view
Browse files Browse the repository at this point in the history
  • Loading branch information
httpjamesm committed Dec 10, 2023
1 parent af4bb68 commit 0607ea7
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions src/routes/v/PasswordRequestView.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,22 @@

<h1>Enter the paste's password</h1>

<form on:submit|preventDefault={onSubmit}>
<form on:submit|preventDefault={onSubmit} class="password-form">
<CarbonInput id="password-input" label="Password" bind:value={password} secureText={true} />
<div style="display: flex; justify-content: center; width: 100%; margin-top: 1rem;">
<div class="decrypt-container">
<CarbonButton>Decrypt</CarbonButton>
</div>
</form>

<style lang="scss">
.password-form {
display: contents;
}
.decrypt-container {
display: flex;
justify-content: center;
width: 100%;
margin-top: 1rem;
}
</style>

0 comments on commit 0607ea7

Please sign in to comment.