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 {
173173 { rank === 'backer'
174174 ? 'Backers'
175175 : 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`}
180180 </ h2 >
181181 < VisibilitySensor
182182 delayedCall
@@ -240,7 +240,7 @@ export default class Support extends Component {
240240 >
241241 {
242242 < img
243- className = { `support__${ rank } -avatar` }
243+ className = { `support__${ rank } -avatar support__image ` }
244244 src = {
245245 inView && supporter . avatar ? supporter . avatar : SmallIcon
246246 }
Original file line number Diff line number Diff line change 11@import ' functions' ;
22
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+
315.support {
416 display : flex ;
517 flex-wrap : wrap ;
5870
5971 @media (min-width : 400px ) {
6072 max-width : 384px ;
73+ .support__image {
74+ width : 60px ;
75+ height : 60px ;
76+ padding : 2px ;
77+ }
6178 }
6279 }
6380
Original file line number Diff line number Diff line change 21082108 "@octokit/plugin-rest-endpoint-methods" "^13.0.0"
21092109
21102110"@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":
21182111 version "13.8.0"
21192112 resolved "https://registry.yarnpkg.com/@octokit/types/-/types-13.8.0.tgz#3815885e5abd16ed9ffeea3dced31d37ce3f8a0a"
21202113 integrity sha512-x7DjTIbEpEWXK99DMd01QfWy0hd5h4EN+Q7shkdKds3otGQP+oWE/y0A76i1OvH9fygo4ddvNf7ZvF0t78P98A==
You can’t perform that action at this time.
0 commit comments