mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-30 17:32:26 +00:00
redesign DM profile pane UI with split view and avatars
- Update AppShell.js to split view into Conversations and Message History. - Rename sidebar title to "Conversations". - Update MessageThread.js to pass avatar URLs to bubbles. - Update MessageBubble.js to render avatars and use flex layout for alignment. - Update CSS to style message rows, avatars, and bubbles. - Fix CSS scrolling logic to ensure individual columns scroll independently within the modal. - Ensure peak animations match hashtag strip timing (600ms/800ms). - Fix avatar resolution logic for outgoing messages.
This commit is contained in:
1 parent
5eab37905d
commit
3d2537676c
2 files changed
+310
-2
No files matched your search
+36
-2
@@ -5856,17 +5856,51 @@
|
||||
.profile-modal .dm-app-shell {
|
||||
flex-direction: row;
|
||||
align-items: stretch;
|
||||
height: calc(100vh - var(--space-4xl));
|
||||
min-height: 0;
|
||||
}
|
||||
|
||||
.profile-modal .dm-app-shell__sidebar {
|
||||
flex: 0 0 var(--size-18rem);
|
||||
max-width: var(--size-20rem);
|
||||
height: auto;
|
||||
height: 100%;
|
||||
overflow: hidden;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.profile-modal .dm-app-shell__main {
|
||||
flex: 1 1 auto;
|
||||
height: auto;
|
||||
height: 100%;
|
||||
overflow: hidden;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.profile-modal .dm-conversation-list {
|
||||
height: 100%;
|
||||
min-height: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.profile-modal .dm-conversation-list__items {
|
||||
flex: 1;
|
||||
overflow-y: auto;
|
||||
min-height: 0;
|
||||
}
|
||||
|
||||
.profile-modal .dm-message-thread {
|
||||
height: 100%;
|
||||
min-height: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.profile-modal .dm-message-thread__timeline {
|
||||
flex: 1;
|
||||
overflow-y: auto;
|
||||
min-height: 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user