Skip to content

Commit

Permalink
Move styling to css file
Browse files Browse the repository at this point in the history
  • Loading branch information
bradystroud committed Oct 24, 2023
1 parent a14e863 commit d37a252
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 15 deletions.
16 changes: 1 addition & 15 deletions src/TimesheetGPT.WebUI/Pages/GraphChat.razor
Original file line number Diff line number Diff line change
Expand Up @@ -25,26 +25,12 @@
</MudCard>
</MudContainer>

<style>
.chat-bubble {
padding: 10px;
margin: 5px;
background-color: #f1f1f1;
border-radius: 5px;
}
.chat-bubble.user {
background-color: #ddd;
text-align: right;
}
</style>

@code {

private class Message
{
public int MessageId { get; set; }
public string MessageText { get; set; }
public string? MessageText { get; set; }
public Sender Sender { get; set; }
}

Expand Down
11 changes: 11 additions & 0 deletions src/TimesheetGPT.WebUI/Pages/GraphChat.razor.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
.chat-bubble {
padding: 10px;
margin: 5px;
background-color: #f1f1f1;
border-radius: 5px;
}

.chat-bubble.user {
background-color: #ddd;
text-align: right;
}

0 comments on commit d37a252

Please sign in to comment.