3030 -webkit-backdrop-filter : blur (20px );
3131 border : none;
3232 border-radius : 20px ;
33- padding : 18 px ;
33+ padding : 20 px ;
3434 box-shadow :
3535 0 15px 35px rgba (108 , 74 , 232 , 0.15 ),
3636 0 5px 15px rgba (0 , 0 , 0 , 0.05 );
4040 color : # 1a202c ;
4141 font-family : 'Inter' , -apple-system, BlinkMacSystemFont, 'Segoe UI' , Roboto, sans-serif;
4242 min-width : 330px ;
43- width : 330px ; /* Set fixed width */
44- height : 290px ; /* Reduced fixed height */
43+ width : 330px ;
44+ min- height: 290px ; /* Increased min- height for better content fit */
4545 transition : all 0.4s ease;
4646 display : flex;
4747 flex-direction : column;
48- justify-content : space-between; /* Distribute space evenly */
48+ gap : 12 px ;
4949}
5050
5151/* New activity feed styles */
210210/* Header embedded version - larger size */
211211.floating-contributors-container .header-embedded .floating-contributors-card {
212212 min-width : 450px ;
213- width : 450px ; /* Set fixed width */
214- height : 370px ; /* Updated height as requested */
215- padding : 28 px ;
213+ width : 450px ;
214+ min- height: 370px ; /* content fit */
215+ padding : 24 px ;
216216 border-radius : 24px ;
217217 box-shadow :
218218 0 15px 35px rgba (108 , 74 , 232 , 0.12 ),
219219 0 5px 15px rgba (0 , 0 , 0 , 0.03 );
220+ gap : 16px ;
220221}
221222
222223
378379
379380/* Header */
380381.floating-contributors-header {
381- margin-bottom : 10px ;
382382 padding-right : 30px ;
383383 display : flex;
384384 flex-direction : column;
385- gap : 2 px ;
385+ gap : 4 px ;
386386}
387387
388388.floating-contributors-title {
424424.floating-contributors-activity {
425425 display : flex;
426426 align-items : center;
427- gap : 10 px ;
428- padding : 10 px 14 px ;
427+ gap : 12 px ;
428+ padding : 12 px 16 px ;
429429 background : rgba (255 , 255 , 255 , 0.4 );
430430 border-radius : 14px ;
431- margin-bottom : 10px ;
432431 border : none;
433432 transition : all 0.3s cubic-bezier (0.4 , 0 , 0.2 , 1 );
434433 cursor : pointer;
435434 position : relative;
436435 overflow : hidden;
437- height : 60 px ; /* Slightly reduced height */
438- box-sizing : border-box; /* Include padding in height calculation */
436+ min- height: 64 px ;
437+ box-sizing : border-box;
439438 box-shadow : 0 2px 8px rgba (108 , 74 , 232 , 0.08 );
440439}
441440
540539.activity-details {
541540 flex : 1 ;
542541 min-width : 0 ;
543- overflow : hidden; /* Hide overflow */
544- max-width : calc (100% - 60px ); /* Account for avatar + padding */
542+ overflow : hidden;
543+ max-width : calc (100% - 60px );
545544 display : flex;
546545 flex-direction : column;
546+ gap : 2px ;
547547}
548548
549549.activity-user {
550550 display : flex;
551551 align-items : center;
552- gap : 6 px ;
553- margin-bottom : 3 px ;
552+ gap : 8 px ;
553+ flex-wrap : wrap ;
554554}
555555
556556.activity-username {
605605
606606.activity-message {
607607 font-size : 13px ;
608- margin : 2px 0 ;
609608 color : rgba (60 , 60 , 60 , 0.8 );
610609 white-space : nowrap;
611610 overflow : hidden;
612611 text-overflow : ellipsis;
613612 max-width : 100% ;
614- line-height : 1.3 ;
613+ line-height : 1.4 ;
615614}
616615
617616[data-theme = 'light' ] .activity-message {
620619
621620/* Contributors grid */
622621.floating-contributors-grid {
623- margin-bottom : 0px ;
624- flex : 0 0 auto; /* Don't grow, don't shrink, use auto height */
622+ flex : 0 0 auto;
625623 display : flex;
626624 flex-direction : column;
627- overflow : hidden; /* Hide overflow */
625+ overflow : visible;
626+ gap : 8px ;
628627}
629628
630629.contributors-grid-header {
631630 display : flex;
632631 align-items : center;
633632 justify-content : space-between;
634- margin-bottom : 10px ;
635633 font-size : 13px ;
636634 font-weight : 600 ;
637635 color : # 333 ;
638- padding : 3 % ;
636+ padding : 8 px 12 px ;
639637 background : rgba (205 , 205 , 205 , 0.562 );
640638 border-radius : 12px ;
641639 box-shadow : none;
663661.contributors-avatars {
664662 display : flex;
665663 flex-wrap : wrap;
666- gap : 10 px ;
664+ gap : 8 px ;
667665 align-items : center;
668- max-height : 50px ; /* Set fixed height */
669- padding : 10px ; /* Add padding around all avatars */
666+ padding : 12px ;
670667 background : rgba (255 , 255 , 255 , 0.3 );
671668 border-radius : 12px ;
672- margin-top : 8px ;
673669 box-shadow : inset 0 2px 6px rgba (108 , 74 , 232 , 0.05 );
670+ overflow : visible;
674671}
675672
676673.contributor-avatar-wrapper {
677674 position : relative;
678675 cursor : pointer;
676+ z-index : 1 ;
677+ }
678+
679+ .contributor-avatar-wrapper : hover {
680+ z-index : 10 ;
679681}
680682
681683.contributor-avatar {
730732
731733.contributor-tooltip {
732734 position : absolute;
733- bottom : 100% ;
735+ bottom : calc ( 100% + 8 px ) ;
734736 left : 50% ;
735- transform : translateX (-50% ) translateY ( 4 px ) ;
736- background : rgba (0 , 0 , 0 , 0.9 );
737+ transform : translateX (-50% );
738+ background : rgba (0 , 0 , 0 , 0.92 );
737739 color : white;
738- padding : 8 px 12 px ;
739- border-radius : 8 px ;
740+ padding : 6 px 10 px ;
741+ border-radius : 6 px ;
740742 font-size : 11px ;
741743 white-space : nowrap;
742744 opacity : 0 ;
743745 visibility : hidden;
744- transition : all 0.3s cubic-bezier (0.4 , 0 , 0.2 , 1 );
745- margin-bottom : 8px ;
746- z-index : 20 ;
746+ transition : opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
747+ z-index : 100 ;
747748 pointer-events : none;
748749 backdrop-filter : blur (8px );
750+ box-shadow : 0 4px 12px rgba (0 , 0 , 0 , 0.3 );
749751}
750752
751753.contributor-tooltip ::after {
754756 top : 100% ;
755757 left : 50% ;
756758 transform : translateX (-50% );
757- border : 4 px solid transparent;
758- border-top-color : rgba (0 , 0 , 0 , 0.9 );
759+ border : 5 px solid transparent;
760+ border-top-color : rgba (0 , 0 , 0 , 0.92 );
759761}
760762
761763.contributor-avatar-wrapper : hover .contributor-tooltip {
762764 opacity : 1 ;
763765 visibility : visible;
764- transform : translateX (-50% ) translateY (-8 px );
766+ transform : translateX (-50% ) translateY (-4 px );
765767}
766768
767769.tooltip-name ,
812814
813815/* Footer */
814816.floating-contributors-footer {
815- padding-top : 8px ;
816- margin-top : auto; /* Push to bottom of flex container */
817- margin-bottom : 0 ; /* Remove bottom spacing */
817+ margin-top : auto;
818818}
819819
820820[data-theme = 'light' ] .floating-contributors-footer {
827827 justify-content : center;
828828 gap : 8px ;
829829 width : 100% ;
830- padding : 10 px 0 ;
830+ padding : 12 px 16 px ;
831831 background : linear-gradient (90deg , # 4f46e5 0% , # 6366f1 100% );
832832 color : white;
833833 text-decoration : none;
838838 position : relative;
839839 overflow : hidden;
840840 box-shadow : 0 4px 12px rgba (79 , 70 , 229 , 0.25 );
841- height : 42 px ; /* Fixed height */
841+ min- height: 44 px ;
842842 border : none;
843843}
844844
954954 }
955955
956956 .floating-contributors-card {
957- padding : 16 px ;
957+ padding : 18 px ;
958958 border-radius : 16px ;
959+ gap : 10px ;
959960 }
960961
961962 .floating-contributors-title {
10121013 }
10131014
10141015 .floating-contributors-card {
1015- padding : 14 px ;
1016+ padding : 16 px ;
10161017 border-radius : 14px ;
1018+ gap : 8px ;
10171019 }
10181020
10191021 .floating-contributors-activity {
1020- padding : 25px ;
1022+ padding : 10px 12px ;
1023+ min-height : 56px ;
10211024 }
10221025
10231026 .activity-details {
10951098 .status-dot {
10961099 animation : none !important ;
10971100 }
1098-
1101+
10991102 .floating-contributors-card {
11001103 transform : none !important ;
11011104 }
11071110 border-width : 2px ;
11081111 border-color : rgba (255 , 255 , 255 , 0.8 );
11091112 }
1110-
1113+
11111114 .activity-avatar {
11121115 border-width : 3px ;
11131116 }
1114-
1117+
11151118 .contributor-avatar {
11161119 border-width : 3px ;
11171120 }
12161219.contributor-avatar ,
12171220.activity-avatar {
12181221 transition : all 0.4s cubic-bezier (0.4 , 0 , 0.2 , 1 );
1219- }
1222+ }
0 commit comments