mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-11-06 12:52:26 +00:00
Redesign DM UI with independent scrolling and split layout
- Implemented split-pane layout for Conversations and Message History. - Added independent vertical scrolling for desktop views. - Enforced full-height containers to prevent parent modal scrolling on desktop. - Preserved mobile scrolling behavior by wrapping height constraints in media queries. - Added avatars, message bubbles, and alignment styling. - Removed space-y utility from profile modal container to prevent layout issues. - Updated tailwind source CSS with new scrollbar utilities and overrides.
This commit is contained in:
1 parent
69a6edecd8
commit
38881c8244
3 files changed
+1633
-3
No files matched your search
@@ -1270,7 +1270,7 @@
|
||||
</section>
|
||||
<section
|
||||
id="profilePaneMessages"
|
||||
class="profile-pane hidden space-y-4"
|
||||
class="profile-pane hidden"
|
||||
role="tabpanel"
|
||||
aria-labelledby="profileNavMessages"
|
||||
>
|
||||
|
||||
+17
-2
@@ -3063,6 +3063,20 @@
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
/* Specific override for messages pane to prevent parent scrolling on desktop */
|
||||
@media (min-width: theme("screens.md")) {
|
||||
#profilePaneMessages {
|
||||
height: 100%;
|
||||
min-height: 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
#dmAppShellMount {
|
||||
height: 100%;
|
||||
min-height: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.profile-pane.hidden {
|
||||
display: none !important;
|
||||
}
|
||||
@@ -6060,9 +6074,10 @@
|
||||
}
|
||||
|
||||
.no-scrollbar {
|
||||
scrollbar-width: none;
|
||||
scrollbar-width: none !important;
|
||||
-ms-overflow-style: none !important;
|
||||
}
|
||||
|
||||
.no-scrollbar::-webkit-scrollbar {
|
||||
display: none;
|
||||
display: none !important;
|
||||
}
|
||||
+1615
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user