Refactor Popup components to utilize DraggableContainer for improved drag-and-drop functionality and responsiveness. Update layout and styling in ParticipantsPopup, QRCodePopup, SharePopup, and ChatPopup to enhance user experience across different screen sizes.
This commit is contained in:
@@ -35,8 +35,7 @@ function SessionUsersPanel2() {
|
||||
<DraggableContainer
|
||||
enableSnapping={true}
|
||||
autoAlign={true}
|
||||
// initialPosition={{ top: 20, left: 20 }}
|
||||
initialCorner="bottom-right"
|
||||
initialCorner={innerWidth >= 640 ? "bottom-right" : "top-right"}
|
||||
padding="1.111vw"
|
||||
className="flex gap-4"
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user