File tree Expand file tree Collapse file tree 2 files changed +25
-39
lines changed Expand file tree Collapse file tree 2 files changed +25
-39
lines changed Original file line number Diff line number Diff line change @@ -869,27 +869,6 @@ export const TorchAgentPage = () => {
869
869
</ Box >
870
870
) }
871
871
</ ResultsSection >
872
-
873
- < Box sx = { { display : "flex" , justifyContent : "flex-end" , mt : 2 } } >
874
- < Button
875
- variant = "outlined"
876
- component = "a"
877
- href = { featureRequestUrl }
878
- target = "_blank"
879
- sx = { { mr : 1 } }
880
- >
881
- Feature Request
882
- </ Button >
883
- < Button
884
- variant = "outlined"
885
- color = "error"
886
- component = "a"
887
- href = { bugReportUrl }
888
- target = "_blank"
889
- >
890
- Report Bug
891
- </ Button >
892
- </ Box >
893
872
</ TorchAgentPageContainer >
894
873
) }
895
874
</ Box >
Original file line number Diff line number Diff line change 1
1
import ArrowDownwardIcon from "@mui/icons-material/ArrowDownward" ;
2
+ import BugReportIcon from "@mui/icons-material/BugReport" ;
3
+ import LightbulbIcon from "@mui/icons-material/Lightbulb" ;
2
4
import { Box , Button , Tooltip , Typography } from "@mui/material" ;
3
5
import React from "react" ;
4
6
import { ScrollToBottomButton } from "./styles" ;
@@ -36,24 +38,29 @@ export const HeaderSection: React.FC<HeaderSectionProps> = ({
36
38
</ Typography >
37
39
38
40
< Box sx = { { display : "flex" , justifyContent : "flex-end" , mb : 2 } } >
39
- < Button
40
- variant = "outlined"
41
- component = "a"
42
- href = { featureRequestUrl }
43
- target = "_blank"
44
- sx = { { mr : 1 } }
45
- >
46
- Feature Request
47
- </ Button >
48
- < Button
49
- variant = "outlined"
50
- color = "error"
51
- component = "a"
52
- href = { bugReportUrl }
53
- target = "_blank"
54
- >
55
- Report Bug
56
- </ Button >
41
+ < Tooltip title = "Create feature request" >
42
+ < Button
43
+ variant = "outlined"
44
+ component = "a"
45
+ href = { featureRequestUrl }
46
+ target = "_blank"
47
+ sx = { { mr : 1 , minWidth : "auto" , p : 1 } }
48
+ >
49
+ < LightbulbIcon />
50
+ </ Button >
51
+ </ Tooltip >
52
+ < Tooltip title = "Report bug" >
53
+ < Button
54
+ variant = "outlined"
55
+ color = "error"
56
+ component = "a"
57
+ href = { bugReportUrl }
58
+ target = "_blank"
59
+ sx = { { minWidth : "auto" , p : 1 } }
60
+ >
61
+ < BugReportIcon />
62
+ </ Button >
63
+ </ Tooltip >
57
64
</ Box >
58
65
</ >
59
66
) ;
You can’t perform that action at this time.
0 commit comments