Skip to content

Commit

Permalink
Make btn-send css class so we can standardize primary buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
KarmaKamikaze committed Nov 9, 2023
1 parent ecb804a commit 54c0e58
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ChatRPG/Pages/Campaign.razor
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<input type="text" style="resize:vertical;" class="form-control user-prompt custom-text-field"
@bind="_userInput" placeholder="What do you do?" @onkeyup="@EnterKeyHandler"/>
<div class="input-group-append">
<button class="btn btn-primary ml-2" type="button" @onclick="SendPrompt">
<button class="btn btn-send ml-2" type="button" @onclick="SendPrompt">
Send
</button>
</div>
Expand Down
6 changes: 6 additions & 0 deletions ChatRPG/wwwroot/css/site.css
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,12 @@ a, .btn-link {
background-color: rgb(80, 80, 80);
}

.btn-send {
color: #fff;
background-color: #1b6ec2;
border-color: #1861ac;
}

.user-message-container {
background-color: rgb(222, 222, 222);
border-radius: 10px; /* Adds rounded corners to the container */
Expand Down

0 comments on commit 54c0e58

Please sign in to comment.