diff --git a/src/defaultStyles.css b/src/defaultStyles.css
index fd4b1a2..c6ec631 100644
--- a/src/defaultStyles.css
+++ b/src/defaultStyles.css
@@ -31,7 +31,6 @@ body {
}
img {
- margin: 5px;
max-width: 90%;
}
diff --git a/src/pages/chat.js b/src/pages/chat.js
index 0136055..d908bf3 100644
--- a/src/pages/chat.js
+++ b/src/pages/chat.js
@@ -546,7 +546,13 @@ export default class Chat extends React.Component {
)
} else if (type === 'file') {
return (
-
+
{msg.split('/').slice(-1)}
)
diff --git a/src/pages/chat.module.css b/src/pages/chat.module.css
index 9efc398..a1a812a 100644
--- a/src/pages/chat.module.css
+++ b/src/pages/chat.module.css
@@ -145,11 +145,11 @@
justify-content: flex-end;
}
-.ownMsg > div {
+.ownMsg > * {
background-color: #99f;
}
-.partnerMsg > div {
+.partnerMsg > * {
background-color: var(--primary-color);
}