File tree Expand file tree Collapse file tree
templates/dashboard/components Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4646 background-color : transparent ;
4747 color : $tutor-text-brand ;
4848 }
49+
50+ .tutor-dashboard-nav-mobile-icon {
51+ @include tutor-flex-center ;
52+ }
4953 }
5054 }
5155 }
Original file line number Diff line number Diff line change 55[data-tutor-ui = ' kids' ] {
66 .tutor-dashboard-nav-mobile-list > li > a ,
77 .tutor-dashboard-nav-mobile-list > li > button {
8+ .tutor-dashboard-nav-mobile-icon {
9+ padding : $tutor-spacing-2 ;
10+ }
11+
812 span {
913 & :last-of-type {
1014 color : $tutor-text-primary ;
Original file line number Diff line number Diff line change @@ -30,7 +30,6 @@ abstract class Size {
3030 public const SIZE_16 = 16 ;
3131 public const SIZE_20 = 20 ;
3232 public const SIZE_24 = 24 ;
33- public const SIZE_28 = 28 ;
3433 public const SIZE_32 = 32 ;
3534 public const SIZE_40 = 40 ;
3635 public const SIZE_48 = 48 ;
Original file line number Diff line number Diff line change 5353 ?>
5454 <li>
5555 <a class="<?php echo esc_attr ( $ active_class ); ?> " href="<?php echo esc_url ( $ menu_link ?? '# ' ); ?> ">
56- <span class="tutor-flex-center tutor-p-2 ">
56+ <span class="tutor-dashboard-nav-mobile-icon ">
5757 <?php
5858 SvgIcon::make ()
5959 ->name ( ( $ is_active_menu && ! tutor_utils ()->is_kids_mode () ) ? $ active_icon_name : $ menu_icon_name )
6969 ?>
7070 <li>
7171 <a href="<?php echo esc_url ( Dashboard::get_account_page_url ( 'profile ' ) ); ?> ">
72- <?php
73- Avatar::make ()
74- ->user ( get_current_user_id () )
75- ->size ( Size::SIZE_28 )
76- ->render ();
77- ?>
72+ <div class="tutor-dashboard-nav-mobile-icon">
73+ <?php
74+ Avatar::make ()
75+ ->user ( get_current_user_id () )
76+ ->size ( Size::SIZE_20 )
77+ ->render ();
78+ ?>
79+ </div>
7880 <span class="tutor-tiny"><?php esc_html_e ( 'Profile ' , 'tutor ' ); ?> </span>
7981 </a>
8082 </li>
8991 :aria-expanded="open ? 'true' : 'false'"
9092 aria-haspopup="true"
9193 >
92- <span class="tutor-flex-center tutor-p-2 ">
94+ <span class="tutor-dashboard-nav-mobile-icon ">
9395 <?php SvgIcon::make ()->name ( Icon::ELLIPSES )->size ( 20 )->render (); ?>
9496 </span>
9597 <span class="tutor-tiny"><?php esc_html_e ( 'More ' , 'tutor ' ); ?> </span>
You can’t perform that action at this time.
0 commit comments