Refactor code structure for improved readability and maintainability
This commit is contained in:
1 parent
c3c74863ef
commit
cdb6e03560
8 files changed
+320
-52
No files matched your search
+1
-1
@@ -24,7 +24,7 @@
|
||||
.dm-header h3{margin:0}
|
||||
.dm-messages{flex:1;padding:16px;overflow-y:auto;display:flex;flex-direction:column;gap:12px}
|
||||
.dm-message{padding:12px 16px;border-radius:12px;max-width:70%;word-wrap:break-word}
|
||||
.dm-message.sent{background:var(--accent);color:#042;align-self:flex-end;border-bottom-right-radius:4px}
|
||||
.dm-message.sent{background:var(--accent);color:var(--bg);align-self:flex-end;border-bottom-right-radius:4px}
|
||||
.dm-message.received{background:rgba(255,255,255,0.1);align-self:flex-start;border-bottom-left-radius:4px}
|
||||
.dm-message.system{background:rgba(255,184,77,0.12);border:1px solid rgba(255,184,77,0.25);align-self:stretch;max-width:90%}
|
||||
.dm-message.system .dm-message-content{white-space:pre-wrap}
|
||||
|
||||
Reference in new issue
Block a user