File tree Expand file tree Collapse file tree 3 files changed +22
-12
lines changed Expand file tree Collapse file tree 3 files changed +22
-12
lines changed Original file line number Diff line number Diff line change @@ -173,10 +173,10 @@ export default class Support extends Component {
173
173
{ rank === 'backer'
174
174
? 'Backers'
175
175
: rank === 'latest'
176
- ? 'Latest Sponsors'
177
- : `${ rank [ 0 ] . toUpperCase ( ) } ${ rank . slice ( 1 ) } ${
178
- type === 'monthly' ? 'Monthly ' : ''
179
- } Sponsors`}
176
+ ? 'Latest Sponsors'
177
+ : `${ rank [ 0 ] . toUpperCase ( ) } ${ rank . slice ( 1 ) } ${
178
+ type === 'monthly' ? 'Monthly ' : ''
179
+ } Sponsors`}
180
180
</ h2 >
181
181
< VisibilitySensor
182
182
delayedCall
@@ -240,7 +240,7 @@ export default class Support extends Component {
240
240
>
241
241
{
242
242
< img
243
- className = { `support__${ rank } -avatar` }
243
+ className = { `support__${ rank } -avatar support__image ` }
244
244
src = {
245
245
inView && supporter . avatar ? supporter . avatar : SmallIcon
246
246
}
Original file line number Diff line number Diff line change 1
1
@import ' functions' ;
2
2
3
+ .support__image {
4
+ width : 100px ; /* Default width */
5
+ height : 100px ; /* Default height */
6
+ object-fit : contain ; /* Maintain aspect ratio */
7
+ border-radius : 10px ; /* Rounded corners */
8
+ background-color : white ; /* Fallback background */
9
+ padding : 3px ; /* Spacing */
10
+
11
+ /* Responsive adjustments */
12
+ max-width : 100% ;
13
+ }
14
+
3
15
.support {
4
16
display : flex ;
5
17
flex-wrap : wrap ;
58
70
59
71
@media (min-width : 400px ) {
60
72
max-width : 384px ;
73
+ .support__image {
74
+ width : 60px ;
75
+ height : 60px ;
76
+ padding : 2px ;
77
+ }
61
78
}
62
79
}
63
80
Original file line number Diff line number Diff line change 2108
2108
"@octokit/plugin-rest-endpoint-methods" "^13.0.0"
2109
2109
2110
2110
"@octokit/types@^13.0.0", "@octokit/types@^13.5.0":
2111
- version "13.5.0"
2112
- resolved "https://registry.yarnpkg.com/@octokit/types/-/types-13.5.0.tgz#4796e56b7b267ebc7c921dcec262b3d5bfb18883"
2113
- integrity sha512-HdqWTf5Z3qwDVlzCrP8UJquMwunpDiMPt5er+QjGzL4hqr/vBVY/MauQgS1xWxCDT1oMx1EULyqxncdCY/NVSQ==
2114
- dependencies:
2115
- "@octokit/openapi-types" "^22.2.0"
2116
-
2117
- "@octokit/types@^13.6.2", "@octokit/types@^13.7.0":
2118
2111
version "13.8.0"
2119
2112
resolved "https://registry.yarnpkg.com/@octokit/types/-/types-13.8.0.tgz#3815885e5abd16ed9ffeea3dced31d37ce3f8a0a"
2120
2113
integrity sha512-x7DjTIbEpEWXK99DMd01QfWy0hd5h4EN+Q7shkdKds3otGQP+oWE/y0A76i1OvH9fygo4ddvNf7ZvF0t78P98A==
You can’t perform that action at this time.
0 commit comments