-
- @Message.Text
-
-
+
-
+
@@ -50,4 +52,5 @@
Sender = "default",
Text = "default"
};
+
}
\ No newline at end of file
diff --git a/Frontend/Shared/MessageBubble.razor.css b/Frontend/Shared/MessageBubble.razor.css
index 2125dad..d6c9993 100644
--- a/Frontend/Shared/MessageBubble.razor.css
+++ b/Frontend/Shared/MessageBubble.razor.css
@@ -1,8 +1,24 @@
-.bubble {
+.bubble-left {
background-color: white;
- border-radius: 10px;
+ border-radius: 1px 10px 10px 10px;
padding: 5px;
- display: flex;
- flex-direction: column;
min-width: 80px;
+ max-width: 300px;
+ width: fit-content;
+ justify-content: center;
+}
+
+.bubble-right {
+ background-color: white;
+ border-radius: 10px 1px 10px 10px;
+ padding: 5px;
+ max-width: 300px;
+ width: fit-content;
+ justify-content: center;
+}
+
+.message-text {
+ font-size: 1.1rem;
+ margin: 3px;
+ word-break: break-word;
}
\ No newline at end of file
diff --git a/Frontend/wwwroot/css/site.css b/Frontend/wwwroot/css/site.css
index 143c5ff..742c9c9 100644
--- a/Frontend/wwwroot/css/site.css
+++ b/Frontend/wwwroot/css/site.css
@@ -26,3 +26,7 @@
.blazor-error-boundary::after {
content: "An error has occurred."
}
+
+body {
+ overflow: hidden;
+}