File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -150,7 +150,7 @@ span {
150150}
151151
152152# picincircle {
153- width : 43 px ;
153+ width : 39.09 px ;
154154 height : 39.09px ;
155155 border-radius : 50% ;
156156 margin-right : 1vw ;
Original file line number Diff line number Diff line change @@ -6,16 +6,18 @@ function FollowComp (props){
66 const navigate = useNavigate ( ) ;
77 return < >
88 < div className = "followCompDiv POPUPBG" >
9- { ( props . displaypic === null ) ? ( < span className = "displaySearchPic followPic" > < img src = { avatar } id = "picincircle" /> </ span > ) :
10- ( ( props . displaypic . startsWith ( "https:" ) ) ? ( < span className = "displaySearchPic followPic" > < img src = { props . displaypic } id = "picincircle" /> </ span > ) :
9+ { ( props . displaypic === null ) ? ( < span className = "displaySearchPic followPic" > < img src = { avatar } id = "picincircle" alt = "display-pic" /> </ span > ) :
10+ ( ( props . displaypic . startsWith ( "https:" ) ) ? ( < span className = "displaySearchPic followPic" > < img src = { props . displaypic } id = "picincircle" alt = "display-pic" /> </ span > ) :
1111 ( < span className = "displaySearchPic followPic" >
12- < img src = { props . displaypic } id = "picincircle" /> </ span > ) )
12+ < img src = { props . displaypic } id = "picincircle" alt = "display-pic" /> </ span > ) )
1313 }
1414 { /* <span className="displaySearchPic followPic"><img src={avatar} id="picincircle"/></span> */ }
15- < p className = "followName" > { props . name } </ p >
16- < p className = "followUsername" onClick = { ( ) => {
17- navigate ( `/profile/${ props . username } ` )
18- } } > @{ props . username } </ p >
15+ < div className = "followNameContainer" >
16+ < p className = "followName" > { props . name } </ p >
17+ < p className = "followUsername" onClick = { ( ) => {
18+ navigate ( `/profile/${ props . username } ` )
19+ } } > @{ props . username } </ p >
20+ </ div >
1921 { /* <p className="followUsername">{props.username}</p> */ }
2022 </ div >
2123 </ >
Original file line number Diff line number Diff line change 473473 border : 0.8px solid rgba (255 , 255 , 255 , 0.15 );
474474 border-radius : 8px ;
475475 display : flex;
476+ flex-direction : row;
477+ align-items : center;
476478}
477479
478480.followName {
482484 font-size : 1.1rem ;
483485 line-height : 24px ;
484486 color : rgba (255 , 255 , 255 , 0.9 );
485- /* margin-left: 5.5vw; */
486- margin-top : 13px ;
487+ margin : 0 ;
487488 text-transform : capitalize;
488489}
489490
490491.followPic {
491- margin-top : 15px ;
492492 margin-left : 1vw ;
493493 /* top:60vh; */
494494}
495495
496+ .followNameContainer {
497+ display : flex;
498+ flex-direction : column;
499+ }
500+
496501.followUsername {
497502 font-family : 'Montserrat' ;
498503 font-style : normal;
499504 font-weight : 500 ;
500505 font-size : 13px ;
501506 line-height : 20px ;
502507 color : # 47c87a ;
503- cursor : pointer;
504- margin-left : -8vw ;
505-
506- margin-top : 30px ;
508+ cursor : pointer;
507509 text-transform : capitalize;
508510 text-decoration : underline;
511+ margin : 0 ;
509512 /* cursor: pointer; */
510513}
511514
@@ -655,16 +658,6 @@ z-index:15;
655658.followCompDiv {
656659 height : 57px ;
657660}
658- .followPic {
659- margin-top : 7px ;
660- }
661- .followName {
662- margin-top : 4px ;
663- }
664- .followUsername {
665- margin-left : -7vw ;
666- margin-top : 25.5px ;
667- }
668661# bmIcon {
669662 margin-left : 16vw ;
670663}
@@ -728,9 +721,6 @@ width:25vw;
728721 margin-left : 1.5vw ;
729722 margin-top : 10px ;
730723 }
731- .followUsername {
732- margin-left : -8vw ;
733- }
734724
735725}
736726@media (max-width : 850px ){
@@ -755,9 +745,6 @@ width:25vw;
755745 .followName {
756746 font-size : 1rem ;
757747 }
758- .followUsername {
759- margin-left : -8vw ;
760- }
761748 .pTweetHead , .pFollowerHead , .pFollowingHead {
762749 font-size : 1.05rem ;
763750 }
@@ -834,9 +821,6 @@ margin-left: 8vw;
834821 height : 57px ;
835822 width : 56.5vw ;
836823}
837- .followUsername {
838- margin-left : -9vw
839- }
840824.pFollowerHead {
841825 margin-left : 10vw ;
842826 margin-right : 10vw ;
@@ -924,9 +908,6 @@ font-size: 0.9rem;
924908 # bmIcon {
925909 margin-left : 5vw ;
926910 }
927- .followUsername {
928- margin-left : -11vw ;
929- }
930911 # DltPopUp {
931912 width : 50vw ;
932913 margin-left : -4vw ;
@@ -985,9 +966,6 @@ font-size: 0.9rem;
985966.followCompDiv {
986967 width : 81vw ;
987968}
988- .followUsername {
989- margin-left : -14vw ;
990- }
991969.pImage {
992970 width : 130px ;
993971 height : 130px ;
@@ -1084,9 +1062,6 @@ font-size: 0.9rem;
10841062.followCompDiv {
10851063 width : 83vw ;
10861064}
1087- .followUsername {
1088- margin-left : -16vw ;
1089- }
10901065.pImage {
10911066 width : 100px ;
10921067 height : 100px ;
You can’t perform that action at this time.
0 commit comments