6868
6969 <div class =" profile-user-stats" >
7070 <div class =" stats" >
71+ <span class =" label" >Posts </span >
7172 <span class =" stat-text" >{{ user.post_count || 0 }}</span >
72- <span class =" label" >Posts</span >
7373 </div >
74- <div class =" stats" >
75- <span class =" label" >Last Seen </span >
76- <span class =" stat-text-sm " >{{ humanDate(user.last_active, true) }}</span >
74+ <div v-if = " user.last_active " class =" stats" >
75+ <span class =" label" >Last Active </span >
76+ <span class =" stat-text" >{{ humanDate(user.last_active, true) }}</span >
7777 </div >
7878 <div class =" stats" >
7979 <span class =" label" >Created </span >
80- <span class =" stat-text-sm " >{{ humanDate(user.created_at, true) }}</span >
80+ <span class =" stat-text" >{{ humanDate(user.created_at, true) }}</span >
8181 </div >
8282 </div >
8383 </div >
@@ -492,7 +492,7 @@ export default {
492492 a { color: $text- gray- med; text- decoration: underline; }
493493 }
494494 }
495- .signature - block { display: flex ; margin- bottom: 1rem ; }
495+ .signature - block { display: grid ; margin- bottom: 1rem ; }
496496 .signature {
497497 @include truncate- ellipsis;
498498 font- size: $font- size- xs;
@@ -507,7 +507,11 @@ export default {
507507 }
508508 .profile - user- stats {
509509 display: flex;
510- margin- bottom: 2rem ;
510+ margin- bottom: 1rem ;
511+ column- gap: 0 .5rem ;
512+ @include break - mobile- med {
513+ justify- content: center;
514+ }
511515 .stats {
512516 border: $border;
513517 border- radius: 6px ;
@@ -516,31 +520,36 @@ export default {
516520 flex- direction: column;
517521 align- items: center;
518522 justify- content: center;
519- margin- right: 1rem ;
520523 padding: 0 .5rem ;
521524 text- align: center;
522- width: 100px ;
523- max- width: 120px ;
524- .label { font- size: $font- size- xs; }
525+ width: auto;
526+ white- space: nowrap;
527+ @include break - mobile- med {
528+ width: 100px ;
529+ max- width: 120px ;
530+ white- space: normal;
531+ }
532+ .label {
533+ margin- bottom: 0 .25rem ;
534+ font- size: $font- size- xs;
535+ }
525536 .stat - text {
526- font- size: 2rem ;
537+ font- size: $font - size - lg ;
527538 font- weight: 600 ;
528539 margin- bottom: 0 .25rem ;
529- & - sm { font- size: 21px ; font- weight: 600 ; }
530540 }
531541 }
532542 }
533543 @include break - mobile- med {
534544 align- items: center;
535545 flex- direction: column;
536546 .profile - avatar {
537- margin- bottom: 3rem ;
538547 margin- right: 0 ;
539548 }
540549 .profile - user- details {
541550 .profile - user- name- role {
542551 flex- direction: column;
543- margin- bottom: 1 . 5rem ;
552+ margin- bottom: 1rem ;
544553 h1, .username - screen , .user - role {
545554 margin- bottom: 0 .25rem ;
546555 }
@@ -550,12 +559,16 @@ export default {
550559 .trust - profile { .trust - link { white- space: nowrap; } }
551560 }
552561}
553- .profile - threads- posts { grid- area: main; }
562+ .profile - threads- posts {
563+ grid- area: main;
564+ @include break - mobile- med {
565+ border- top: $border;
566+ }
567+ }
554568.profile - sidebar {
555569 color: $text- gray- dark;
556570 grid- area: sidebar;
557571 .actions - panel {
558- border- bottom: $border;
559572 line- height: 1.5 ;
560573 margin- bottom: 1rem ;
561574 padding- bottom: 1rem ;
0 commit comments