@@ -529,9 +529,17 @@ const DatasetDetailPage: React.FC = () => {
529529 </ style >
530530 < Box sx = { { padding : 4 } } >
531531 < Button
532- variant = "contained "
532+ variant = "text "
533533 onClick = { ( ) => navigate ( - 1 ) }
534- sx = { { marginBottom : 2 , backgroundColor : Colors . primary . main } }
534+ sx = { {
535+ marginBottom : 2 ,
536+ color : Colors . white ,
537+ "&:hover" : {
538+ transform : "scale(1.05)" ,
539+ backgroundColor : "transparent" ,
540+ textDecoration : "underline" ,
541+ } ,
542+ } }
535543 >
536544 Back
537545 </ Button >
@@ -550,7 +558,7 @@ const DatasetDetailPage: React.FC = () => {
550558 { /* ✅ Dataset Title (From dataset_description.json) */ }
551559 < Typography
552560 variant = "h4"
553- color = { Colors . primary . main }
561+ color = { Colors . darkPurple }
554562 sx = { { fontWeight : "bold" , mb : 1 } }
555563 >
556564 { datasetDocument ?. [ "dataset_description.json" ] ?. Name ??
@@ -589,7 +597,15 @@ const DatasetDetailPage: React.FC = () => {
589597 "&:hover" : { backgroundColor : "transparent" } ,
590598 } }
591599 >
592- < HomeIcon sx = { { color : Colors . primary . main } } />
600+ < HomeIcon
601+ sx = { {
602+ color : Colors . darkPurple ,
603+ "&:hover" : {
604+ transform : "scale(1.1)" ,
605+ backgroundColor : "transparent" ,
606+ } ,
607+ } }
608+ />
593609 </ Button >
594610
595611 < Typography variant = "h5" sx = { { marginX : 1 , fontWeight : "bold" } } >
@@ -603,7 +619,11 @@ const DatasetDetailPage: React.FC = () => {
603619 textTransform : "none" ,
604620 fontSize : "1.2rem" ,
605621 fontWeight : "bold" ,
606- color : Colors . primary . dark ,
622+ color : Colors . darkPurple ,
623+ "&:hover" : {
624+ transform : "scale(1.05)" ,
625+ backgroundColor : "transparent" ,
626+ } ,
607627 } }
608628 >
609629 { dbName ?. toLowerCase ( ) }
@@ -618,7 +638,7 @@ const DatasetDetailPage: React.FC = () => {
618638 variant = "h5"
619639 sx = { {
620640 fontWeight : "bold" ,
621- color : Colors . textPrimary ,
641+ color : Colors . darkPurple ,
622642 fontSize : "1.2rem" ,
623643 } }
624644 >
@@ -643,9 +663,9 @@ const DatasetDetailPage: React.FC = () => {
643663 startIcon = { < CloudDownloadIcon /> }
644664 onClick = { handleDownloadDataset }
645665 sx = { {
646- backgroundColor : "#ffb300" ,
647- color : "black" ,
648- "&:hover" : { backgroundColor : "#ff9100" } ,
666+ backgroundColor : Colors . purple ,
667+ color : Colors . lightGray ,
668+ "&:hover" : { backgroundColor : Colors . secondaryPurple } ,
649669 } }
650670 >
651671 { /* Download Dataset (1 Mb) */ }
@@ -657,9 +677,9 @@ const DatasetDetailPage: React.FC = () => {
657677 startIcon = { < DescriptionIcon /> }
658678 onClick = { handleDownloadScript }
659679 sx = { {
660- backgroundColor : "#ffb300" ,
661- color : "black" ,
662- "&:hover" : { backgroundColor : "#ff9100" } ,
680+ backgroundColor : Colors . purple ,
681+ color : Colors . lightGray ,
682+ "&:hover" : { backgroundColor : Colors . secondaryPurple } ,
663683 } }
664684 >
665685 Script to Download All Files ({ downloadScript . length } Bytes)
@@ -692,6 +712,8 @@ const DatasetDetailPage: React.FC = () => {
692712 gap : 2 ,
693713 alignItems : "flex-start" ,
694714 marginTop : 2 ,
715+ height : "700px" , // fixed height container
716+ border : "2px solid red" ,
695717 } }
696718 >
697719 { /* ✅ JSON Viewer (left panel) */ }
@@ -702,6 +724,8 @@ const DatasetDetailPage: React.FC = () => {
702724 padding : 2 ,
703725 borderRadius : "8px" ,
704726 overflowX : "auto" ,
727+ height : "100%" ,
728+ border : "2px solid yellow" ,
705729 } }
706730 >
707731 < ReactJson
@@ -723,14 +747,17 @@ const DatasetDetailPage: React.FC = () => {
723747 display : "flex" ,
724748 flexDirection : "column" ,
725749 gap : 2 ,
750+ height : "100%" ,
751+ border : "2px solid green" ,
726752 } }
727753 >
728754 < Box
729755 sx = { {
730756 backgroundColor : "#cdddf6" ,
731757 padding : 2 ,
732758 borderRadius : "8px" ,
733- marginTop : 4 ,
759+ border : "2px solid orange" ,
760+ flex : 1 ,
734761 } }
735762 >
736763 { /* ✅ Collapsible header */ }
@@ -755,7 +782,7 @@ const DatasetDetailPage: React.FC = () => {
755782 sx = { {
756783 maxHeight : "400px" ,
757784 overflowY : "auto" ,
758- marginTop : 2 ,
785+ // marginTop: 2,
759786 paddingRight : 1 ,
760787 "&::-webkit-scrollbar" : {
761788 width : "6px" ,
@@ -834,7 +861,9 @@ const DatasetDetailPage: React.FC = () => {
834861 backgroundColor : "#eaeaea" ,
835862 padding : 2 ,
836863 borderRadius : "8px" ,
837- marginTop : 4 ,
864+ marginTop : 2 ,
865+ flex : 1 ,
866+ border : "2px solid blue" ,
838867 } }
839868 >
840869 { /* ✅ Header with toggle */ }
@@ -859,7 +888,7 @@ const DatasetDetailPage: React.FC = () => {
859888 sx = { {
860889 maxHeight : "400px" ,
861890 overflowY : "auto" ,
862- marginTop : 2 ,
891+ // marginTop: 2,
863892 paddingRight : 1 ,
864893 "&::-webkit-scrollbar" : {
865894 width : "6px" ,
0 commit comments