File tree 2 files changed +12
-2
lines changed
2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -86,6 +86,16 @@ export function DownloadChart(props: Props) {
86
86
borderColor : isDarkMode ? "#47515c" : "#e5e8eb" , // jsr-gray-700 for dark mode, jsr-gray-100 for light
87
87
strokeDashArray : 3 ,
88
88
} ,
89
+ responsive : [
90
+ {
91
+ breakpoint : 768 ,
92
+ options : {
93
+ legend : {
94
+ horizontalAlign : "left" ,
95
+ } ,
96
+ } ,
97
+ } ,
98
+ ] ,
89
99
} ) ;
90
100
91
101
useEffect ( ( ) => {
@@ -160,7 +170,7 @@ export function DownloadChart(props: Props) {
160
170
</ select >
161
171
</ div >
162
172
) }
163
- < div className = "h-[300px] text-secondary" >
173
+ < div className = "h-[300px] md:pt-0 pt-10 text-secondary" >
164
174
< div ref = { chartDivRef } />
165
175
</ div >
166
176
</ div >
Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ export default define.page<typeof handler>(function Versions({
101
101
latestVersion = { data . package . latestVersion }
102
102
/>
103
103
104
- < div class = "mt-8" >
104
+ < div class = "mt-4 md:mt- 8" >
105
105
< DownloadChart downloads = { data . downloads . recentVersions } />
106
106
</ div >
107
107
You can’t perform that action at this time.
0 commit comments