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