File tree Expand file tree Collapse file tree 2 files changed +15
-20
lines changed
Expand file tree Collapse file tree 2 files changed +15
-20
lines changed Original file line number Diff line number Diff line change 6262 z-index : 1051 ;
6363}
6464
65- .dashboard-mobile-menu > div : last-child {
65+ .dashboard-mobile-menu > div : last-child {
6666 position : absolute;
6767 top : 0 ;
6868 left : 0 ;
7676 transition : transform 0.3s ease;
7777}
7878
79- .dashboard-mobile-menu .show > div : last-child {
79+ .dashboard-mobile-menu .show > div : last-child {
8080 transform : translateX (0 );
8181}
8282
159159 display : flex;
160160 align-items : center;
161161 padding : 10px ;
162- background : var (--ifm-color-emphasis-100 );
162+ background-color : var (--ifm-color-emphasis-100 );
163163 border : none;
164164 border-radius : 8px ;
165165 cursor : pointer;
166- transition : all 0.2 s ease;
166+ transition : all 0 s ease;
167167 color : var (--ifm-color-content );
168168}
169169
295295 left : 0 ;
296296 right : 0 ;
297297 height : 4px ;
298- background : linear-gradient (
299- 90deg ,
300- var (--ifm-color-primary ),
301- var (--ifm-color-primary-light )
302- );
298+ background : linear-gradient (90deg ,
299+ var (--ifm-color-primary ),
300+ var (--ifm-color-primary-light ));
303301}
304302
305303.dashboard-stat-card : hover {
715713[data-theme = "dark" ] .loading-spinner {
716714 border-color : var (--ifm-color-emphasis-300 );
717715 border-top-color : var (--ifm-color-primary );
718- }
716+ }
Original file line number Diff line number Diff line change @@ -453,7 +453,7 @@ const DashboardContent: React.FC = () => {
453453 onClick = { ( ) => history . goBack ( ) }
454454 aria-label = "Go back"
455455 >
456- < ArrowLeft size = { 20 } />
456+ < ArrowLeft />
457457 </ button >
458458 </ div >
459459 < div className = "sidebar-nav" >
@@ -559,25 +559,22 @@ const DashboardContent: React.FC = () => {
559559 < div className = "discussion-tabs" >
560560 < button
561561 onClick = { ( ) => handleDiscussionTabChange ( "discussions" ) }
562- className = { `tab-button ${
563- activeDiscussionTab === "discussions" ? "active" : ""
564- } `}
562+ className = { `tab-button ${ activeDiscussionTab === "discussions" ? "active" : ""
563+ } `}
565564 >
566565 < MessageCircle size = { 18 } /> All Discussions
567566 </ button >
568567 < button
569568 onClick = { ( ) => handleDiscussionTabChange ( "trending" ) }
570- className = { `tab-button ${
571- activeDiscussionTab === "trending" ? "active" : ""
572- } `}
569+ className = { `tab-button ${ activeDiscussionTab === "trending" ? "active" : ""
570+ } `}
573571 >
574572 < TrendingUp size = { 18 } /> Trending
575573 </ button >
576574 < button
577575 onClick = { ( ) => handleDiscussionTabChange ( "unanswered" ) }
578- className = { `tab-button ${
579- activeDiscussionTab === "unanswered" ? "active" : ""
580- } `}
576+ className = { `tab-button ${ activeDiscussionTab === "unanswered" ? "active" : ""
577+ } `}
581578 >
582579 < HelpCircle size = { 18 } /> Unanswered
583580 </ button >
You can’t perform that action at this time.
0 commit comments