File tree Expand file tree Collapse file tree 2 files changed +31
-0
lines changed Expand file tree Collapse file tree 2 files changed +31
-0
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,8 @@ const Card = ({
28
28
} , [ isSelected ] ) ;
29
29
30
30
const handleDownload = async ( paper : Paper ) => {
31
+ paper . finalUrl = paper . finalUrl . replace ( / ^ h t t p : \/ \/ / i, 'https://' ) ;
32
+
31
33
const extension = paper . finalUrl . split ( "." ) . pop ( ) ;
32
34
const fileName = `${ extractBracketContent ( paper . subject ) } -${ paper . exam } -${ paper . slot } -${ paper . year } .${ extension } ` ;
33
35
await downloadFile ( paper . finalUrl , fileName ) ;
Original file line number Diff line number Diff line change 98
98
}
99
99
.phonk {
100
100
font-family : "phonk" ;
101
+ }
102
+ .dark ::-webkit-scrollbar {
103
+ width : 0.4rem ;
104
+ background : # 535253 ;
105
+ }
106
+
107
+ /* Track */
108
+ .dark ::-webkit-scrollbar-track {
109
+ background : # 0c0c0c ;
110
+ border-radius : 0.6rem ;
111
+ z-index : -99 ;
112
+ }
113
+ /* Handle */
114
+ .dark ::-webkit-scrollbar-thumb {
115
+ background : # 5c5957 ;
116
+ border-radius : 1rem ;
117
+ }
118
+ ::-webkit-scrollbar {
119
+ width : 0.4rem ;
120
+ background : # 535253 ;
121
+ }
122
+ ::-webkit-scrollbar-track {
123
+ background : # ffffff ;
124
+ border-radius : 0.6rem ;
125
+ z-index : -99 ;
126
+ }
127
+ ::-webkit-scrollbar-thumb {
128
+ background : # 929292 ;
129
+ border-radius : 1rem ;
101
130
}
You can’t perform that action at this time.
0 commit comments