Skip to content

Commit c25e941

Browse files
committed
Upgrade to tailwindcss v4
1 parent 8649716 commit c25e941

23 files changed

+3968
-3871
lines changed

MyApp/Components/Account/Pages/ExternalLogin.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
<div class="flex flex-col gap-4">
3939
<div>
4040
<label for="email" class="@TextInput.LabelClasses">Email</label>
41-
<div class="mt-1 relative rounded-md shadow-sm">
41+
<div class="mt-1 relative">
4242
<InputText id="email" type="text" @bind-Value="Input.Email" class="@TextInput.InputClasses" autocomplete="email" placeholder="Please enter your email." />
4343
</div>
4444
<ValidationMessage For="() => Input.Email" class="mt-2 text-danger text-sm" />

MyApp/Components/Account/Pages/ForgotPassword.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
<div class="flex flex-col gap-y-4">
2525
<div>
2626
<label for="email" class="@TextInput.LabelClasses">Email</label>
27-
<div class="mt-1 relative rounded-md shadow-sm">
27+
<div class="mt-1 relative">
2828
<InputText id="email" type="text" @bind-Value="Input.Email" class="@TextInput.InputClasses" autocomplete="username" aria-required="true" placeholder="[email protected]" />
2929
</div>
3030
<ValidationMessage For="() => Input.Email" class="mt-2 text-danger text-sm" />

MyApp/Components/Account/Pages/Login.razor

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,15 @@
2424
<div>
2525
<div>
2626
<label for="Email" class="@TextInput.LabelClasses">Email</label>
27-
<div class="mt-1 relative rounded-md shadow-sm">
27+
<div class="mt-1 relative">
2828
<InputText id="email" type="text" @bind-Value="Input.Email" class="@TextInput.InputClasses" autocomplete="username" aria-required="true" placeholder="[email protected]" />
2929
</div>
3030
</div>
3131
</div>
3232
<div>
3333
<div>
3434
<label for="UserName" class="@TextInput.LabelClasses">Password</label>
35-
<div class="mt-1 relative rounded-md shadow-sm">
35+
<div class="mt-1 relative">
3636
<InputText id="password" type="password" @bind-Value="Input.Password" class="@TextInput.InputClasses" autocomplete="current-password" aria-required="true" placeholder="password" />
3737
</div>
3838
</div>

MyApp/Components/Account/Pages/LoginWith2fa.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
<div class="flex flex-col gap-y-4">
2727
<div>
2828
<label for="two-factor-code" class="@TextInput.LabelClasses">Authenticator code</label>
29-
<div class="mt-1 relative rounded-md shadow-sm">
29+
<div class="mt-1 relative">
3030
<InputText id="two-factor-code" type="text" @bind-Value="Input.TwoFactorCode" class="@TextInput.InputClasses" autocomplete="off" />
3131
</div>
3232
<ValidationMessage For="() => Input.TwoFactorCode" class="mt-2 text-danger text-sm" />

MyApp/Components/Account/Pages/LoginWithRecoveryCode.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
<div class="flex flex-col gap-y-4">
2828
<div>
2929
<label for="recovery-code" class="@TextInput.LabelClasses">Recovery Code</label>
30-
<div class="mt-1 relative rounded-md shadow-sm">
30+
<div class="mt-1 relative">
3131
<InputText id="recovery-code" type="text" @bind-Value="Input.RecoveryCode" class="@TextInput.InputClasses" autocomplete="off" placeholder="RecoveryCode" />
3232
</div>
3333
<ValidationMessage For="() => Input.RecoveryCode" class="mt-2 text-danger text-sm" />

MyApp/Components/Account/Pages/Manage/ChangePassword.razor

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,21 +26,21 @@
2626
<div class="flex flex-col gap-4">
2727
<div>
2828
<label for="old-password" class="@TextInput.LabelClasses">Old password</label>
29-
<div class="mt-1 relative rounded-md shadow-sm">
29+
<div class="mt-1 relative">
3030
<InputText id="old-password" type="password" @bind-Value="Input.OldPassword" class="@TextInput.InputClasses" autocomplete="current-password" aria-required="true" placeholder="Please enter your old password." />
3131
</div>
3232
<ValidationMessage For="() => Input.OldPassword" class="mt-2 text-danger text-sm" />
3333
</div>
3434
<div>
3535
<label for="new-password" class="@TextInput.LabelClasses">New password</label>
36-
<div class="mt-1 relative rounded-md shadow-sm">
36+
<div class="mt-1 relative">
3737
<InputText id="new-password" type="password" @bind-Value="Input.NewPassword" class="@TextInput.InputClasses" autocomplete="new-password" aria-required="true" placeholder="Please enter your new password." />
3838
</div>
3939
<ValidationMessage For="() => Input.NewPassword" class="mt-2 text-danger text-sm" />
4040
</div>
4141
<div>
4242
<label for="confirm-password" class="@TextInput.LabelClasses">Confirm password</label>
43-
<div class="mt-1 relative rounded-md shadow-sm">
43+
<div class="mt-1 relative">
4444
<InputText id="confirm-password" type="password" @bind-Value="Input.ConfirmPassword" class="@TextInput.InputClasses" autocomplete="new-password" aria-required="true" placeholder="Please confirm your new password." />
4545
</div>
4646
<ValidationMessage For="() => Input.ConfirmPassword" class="mt-2 text-danger text-sm" />

MyApp/Components/Account/Pages/Manage/DeletePersonalData.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
{
3333
<div>
3434
<label for="password" class="@TextInput.LabelClasses">Password</label>
35-
<div class="mt-1 relative rounded-md shadow-sm">
35+
<div class="mt-1 relative">
3636
<InputText id="password" type="password" @bind-Value="Input.Password" class="@TextInput.InputClasses" autocomplete="current-password" aria-required="true" placeholder="Please enter your password." />
3737
</div>
3838
<ValidationMessage For="() => Input.Password" class="mt-2 text-danger text-sm" />

MyApp/Components/Account/Pages/Manage/Email.razor

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
{
3434
<div>
3535
<label for="email" class="@TextInput.LabelClasses">Email</label>
36-
<div class="mt-1 relative rounded-md shadow-sm">
36+
<div class="mt-1 relative">
3737
<input id="email" type="text" value="@email" class="@TextInput.InputClasses" placeholder="Please enter your email." disabled />
3838
</div>
3939
</div>
@@ -42,15 +42,15 @@
4242
{
4343
<div>
4444
<label for="email" class="@TextInput.LabelClasses">Email</label>
45-
<div class="mt-1 relative rounded-md shadow-sm">
45+
<div class="mt-1 relative">
4646
<input id="email" type="text" value="@email" class="@TextInput.InputClasses" placeholder="Please enter your email." disabled />
4747
</div>
4848
<SecondaryButton id="email-verification" type="submit" form="send-verification-form">Send verification email</SecondaryButton>
4949
</div>
5050
}
5151
<div>
5252
<label for="new-email" class="@TextInput.LabelClasses">New email</label>
53-
<div class="mt-1 relative rounded-md shadow-sm">
53+
<div class="mt-1 relative">
5454
<InputText id="new-email" type="text" @bind-Value="Input.NewEmail" class="@TextInput.InputClasses" autocomplete="email" aria-required="true" placeholder="Please enter new email." />
5555
</div>
5656
<ValidationMessage For="() => Input.NewEmail" class="mt-2 text-danger text-sm" />

MyApp/Components/Account/Pages/Manage/EnableAuthenticator.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ else
6464
<div class="flex flex-col gap-4">
6565
<div>
6666
<label for="code" class="@TextInput.LabelClasses">Verification Code</label>
67-
<div class="mt-1 relative rounded-md shadow-sm">
67+
<div class="mt-1 relative">
6868
<InputText id="code" type="text" @bind-Value="Input.Code" class="@TextInput.InputClasses" autocomplete="off" placeholder="Please enter the code." />
6969
</div>
7070
<ValidationMessage For="() => Input.Code" class="mt-2 text-danger text-sm" />

MyApp/Components/Account/Pages/Manage/Index.razor

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,13 @@
2424
<div class="flex flex-col gap-y-4">
2525
<div>
2626
<label for="username" class="@TextInput.LabelClasses">Username</label>
27-
<div class="mt-1 relative rounded-md shadow-sm">
27+
<div class="mt-1 relative">
2828
<input id="username" type="text" value="@username" class="@TextInput.InputClasses" placeholder="Please choose your username." disabled />
2929
</div>
3030
</div>
3131
<div>
3232
<label for="phone-number" class="@TextInput.LabelClasses">Phone number</label>
33-
<div class="mt-1 relative rounded-md shadow-sm">
33+
<div class="mt-1 relative">
3434
<InputText id="phone-number" type="text" @bind-Value="Input.PhoneNumber" class="@TextInput.InputClasses" placeholder="Please enter your phone number." />
3535
</div>
3636
<ValidationMessage For="() => Input.PhoneNumber" class="mt-2 text-danger text-sm" />

0 commit comments

Comments
 (0)