feat: optiminize message&img display

This commit is contained in:
butterfly
2024-04-19 19:28:48 +08:00
parent 1074fffe79
commit 37cc87531c
10 changed files with 132 additions and 43 deletions

View File

@@ -28,4 +28,5 @@ body {
--tip-popover-color: #434360;
--chat-panel-bg: rgb(249, 250, 251, 1);
--siderbar-mobile-height: 3.125rem;
--max-message-width: calc(var(--chat-panel-max-width) * 0.6);
}

View File

@@ -61,7 +61,7 @@
--window-width: 90vw;
--window-height: 90vh;
// --sidebar-width: 300px;
--sidebar-width: 300px;
--window-content-width: calc(100% - var(--sidebar-width));
--message-max-width: 80%;
--full-height: 100%;
@@ -71,7 +71,7 @@
:root {
--window-width: 100vw;
--window-height: var(--full-height);
// --sidebar-width: 100vw;
--sidebar-width: 100vw;
--window-content-width: var(--window-width);
--message-max-width: 100%;
}