Fixed word wrapping in chats
This commit is contained in:
parent
496389890e
commit
80fe9246cc
|
@ -63,7 +63,7 @@
|
|||
<MudTextField T="string" Label="Email" Required="true" RequiredError="Email is required!"
|
||||
Validation="@(new EmailAddressAttribute() {ErrorMessage = "The email address is invalid"})"
|
||||
@bind-Text=tempUser.Email/>
|
||||
<MudTextField T="string" Label="Password" HelperText="Choose a strong password. (This will not be encrypted)" @ref="pwField1"
|
||||
<MudTextField T="string" Label="Password" HelperText="(This will not be encrypted)" @ref="pwField1"
|
||||
InputType="InputType.Password"
|
||||
Validation="@(new Func<string, IEnumerable<string>>(PasswordStrength))" Required="true"
|
||||
RequiredError="Password is required!"
|
||||
|
|
|
@ -27,8 +27,8 @@
|
|||
{
|
||||
<MudStack Class="px-4 py-2 d-flex" Justify="Justify.FlexEnd" Row="true" AlignItems="AlignItems.End">
|
||||
<MudStack>
|
||||
<MudPaper Style="max-width: 320px;" Class="mud-theme-primary" Elevation="4">
|
||||
<MudText Typo="Typo.body1" Class="px-2 pt-2">@message.Content</MudText>
|
||||
<MudPaper Style="max-width: 320px ;overflow-wrap: break-word;" Class="mud-theme-primary" Elevation="4">
|
||||
<MudText Typo="Typo.body1" Class="px-2 pt-2" Style="max-width: 320px;">@message.Content</MudText>
|
||||
<MudText Class="pa-1 pr-2" Align="Align.End" Style="font-size: 10px;">@("@" + message.Name)</MudText>
|
||||
</MudPaper>
|
||||
<MudText Class="mt-n3" Align="Align.End" Style="font-size: 10px;">@(DateTime.Now.ToString("dd/MM/yyyy HH:mm", danishCulture))</MudText>
|
||||
|
@ -39,8 +39,8 @@
|
|||
{
|
||||
<MudStack Class="px-4 py-2" Row="true">
|
||||
<MudStack>
|
||||
<MudPaper Class="overflow-hidden" Style="max-width: 320px" Elevation="4">
|
||||
<MudText Typo="Typo.body1" Class="px-2 pt-2">@message.Content</MudText>
|
||||
<MudPaper Style="max-width: 320px; overflow-wrap: break-word;" Elevation="4">
|
||||
<MudText Typo="Typo.body1" Class="px-2 pt-2" Style="max-width: 320px;">@message.Content</MudText>
|
||||
<MudText Class="pa-1" Style="font-size: 10px;">@("@" + message.Name)</MudText>
|
||||
</MudPaper>
|
||||
<MudText Class="mt-n3 pl-1" Style="font-size: 10px;">@(DateTime.Now.ToString("dd/MM HH:mm", danishCulture))</MudText>
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
"profiles": {
|
||||
"http": {
|
||||
"commandName": "Project",
|
||||
"launchBrowser": true,
|
||||
"environmentVariables": {
|
||||
"ASPNETCORE_ENVIRONMENT": "Development"
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue