File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
src/components/DatasetDetailPage Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -173,6 +173,7 @@ const LoadDatasetTabs: React.FC<LoadDatasetTabsProps> = ({
173173 onChange = { handleTabChange }
174174 variant = "scrollable"
175175 scrollButtons = "auto"
176+ allowScrollButtonsMobile
176177 sx = { {
177178 "& .MuiTab-root" : {
178179 color : Colors . lightGray , // default color
@@ -186,6 +187,12 @@ const LoadDatasetTabs: React.FC<LoadDatasetTabsProps> = ({
186187 "& .MuiTabs-indicator" : {
187188 backgroundColor : Colors . green ,
188189 } ,
190+ "& .MuiTabs-scrollButtons" : {
191+ color : Colors . lightGray , // scroll buttons color
192+ } ,
193+ "& .MuiTabs-scrollButtons.Mui-disabled" : {
194+ opacity : 0.3 , // darker when button disabled
195+ } ,
189196 } }
190197 >
191198 < Tab label = "Python (REST API)" />
You can’t perform that action at this time.
0 commit comments