Set prettier htmlWhitespaceSensitivity to ignore
Prevents prettier from break tags across lines when wrapping text.
This commit is contained in:
parent
733a4c9b2d
commit
92f3b39b30
|
|
@ -1,5 +1,6 @@
|
|||
module.exports = {
|
||||
arrowParens: 'avoid',
|
||||
htmlWhitespaceSensitivity: 'ignore',
|
||||
semi: false,
|
||||
singleQuote: true,
|
||||
svelteBracketNewLine: true,
|
||||
|
|
|
|||
|
|
@ -6,12 +6,12 @@
|
|||
<div>
|
||||
<h3 class="mb-7 text-xl font-serif">Connect to AppName</h3>
|
||||
<div>
|
||||
<a class="btn btn-primary mb-5 w-full" href="/register"
|
||||
>Create a new account</a
|
||||
>
|
||||
<a class="btn btn-primary btn-outline w-full" href="/"
|
||||
>I have an existing account</a
|
||||
>
|
||||
<a class="btn btn-primary mb-5 w-full" href="/register">
|
||||
Create a new account
|
||||
</a>
|
||||
<a class="btn btn-primary btn-outline w-full" href="/">
|
||||
I have an existing account
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -65,8 +65,9 @@
|
|||
<label
|
||||
for="shared-computer"
|
||||
class="cursor-pointer ml-1 text-sm text-slate-700 inline-grid"
|
||||
>This is a shared computer</label
|
||||
>
|
||||
This is a shared computer
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<div class="mt-5">
|
||||
|
|
@ -75,8 +76,10 @@
|
|||
class="btn btn-primary"
|
||||
disabled={username.length === 0 ||
|
||||
!usernameValid ||
|
||||
!usernameAvailable}>Register</button
|
||||
!usernameAvailable}
|
||||
>
|
||||
Register
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue