Skip to content

Agent Zero AI framework

flat style for msg attachments

3clyp5061f431ae3a16
diff --git a/webui/css/messages.css b/webui/css/messages.css
index 3ea402995..9acf087b9 100644
--- a/webui/css/messages.css
+++ b/webui/css/messages.css
@@ -70,14 +70,6 @@
margin: 0;
}
-.center-container .message {
- /* margin-bottom: var(--spacing-sm); */
-}
-
-.message .message-body {
- /* padding-top: 0.5em;
- padding-bottom: 0.5em; */
-}
.message-user {
text-align: end;
@@ -111,19 +103,12 @@
color: #2e2e2e;
} */
-.message-ai {
- /* border-bottom-left-radius: var(--spacing-xxs); */
-}
.message-center {
align-self: center;
/* border-bottom-left-radius: unset; */
}
-.message-followup {
- /* margin-left: var(--spacing-lg); */
- /* margin-bottom: var(--spacing-lg); */
-}
.message-followup .message {
border-radius: 0;
diff --git a/webui/index.css b/webui/index.css
index c0e29d5c5..e9028cd11 100644
--- a/webui/index.css
+++ b/webui/index.css
@@ -747,6 +747,32 @@ h4 {
}
+/* Chat-history attachments overrides (flat styling) */
+
+#chat-history .attachments-container {
+ padding: 0 !important;
+}
+
+#chat-history .attachment-item {
+ padding: 0 !important;
+ background-color: transparent !important;
+ border: none !important;
+ box-shadow: none !important;
+ transform: none !important;
+}
+
+#chat-history .attachment-item:hover {
+ background-color: transparent !important;
+ border: none !important;
+ box-shadow: none !important;
+ transform: none !important;
+}
+
+#chat-history .attachment-preview,
+#chat-history .attachment-item.image-type .attachment-preview {
+ background: transparent;
+}
+
.attachment-image .attachment-preview {
margin-right: 0;
}