File tree Expand file tree Collapse file tree 2 files changed +13
-3
lines changed
frontend/src/pages/Home/components/ReportItem Expand file tree Collapse file tree 2 files changed +13
-3
lines changed Original file line number Diff line number Diff line change 5252 & -icon {
5353 font-size : 22px ;
5454 color : #aaa ;
55+ transition : all 0.2s ease ;
56+ width : 1em ;
57+ height : 1em ;
58+ display : flex ;
59+ align-items : center ;
60+ justify-content : center ;
5561
5662 & --active {
57- color : #4355b9 ;
63+ color : white ;
64+ background-color : #4355b9 ;
65+ border-radius : 50% ;
66+ padding : 8px ;
67+ box-sizing : content-box ;
5868 }
5969 }
6070 }
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import { IonIcon } from '@ionic/react';
22import { format } from 'date-fns' ;
33import { useTranslation } from 'react-i18next' ;
44import { MedicalReport , ReportCategory } from 'common/models/medicalReport' ;
5- import { bookmark , bookmarkOutline } from 'ionicons/icons' ;
5+ import { bookmarkOutline } from 'ionicons/icons' ;
66import './ReportItem.scss' ;
77
88// Import SVG icons
@@ -99,7 +99,7 @@ const ReportItem: React.FC<ReportItemProps> = ({
9999 { showBookmarkButton && (
100100 < div className = "report-item__bookmark" onClick = { handleBookmarkClick } >
101101 < IonIcon
102- icon = { bookmarked ? bookmark : bookmarkOutline }
102+ icon = { bookmarkOutline }
103103 className = { `report-item__bookmark-icon ${
104104 bookmarked ? 'report-item__bookmark-icon--active' : ''
105105 } `}
You can’t perform that action at this time.
0 commit comments