Skip to content

Commit 8eda937

Browse files
authored
fix: revert Sponsor logo alignment #7568 (#7579)
1 parent 5b9cd9e commit 8eda937

File tree

2 files changed

+1
-18
lines changed

2 files changed

+1
-18
lines changed

src/components/Support/Support.jsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ export default class Support extends Component {
240240
>
241241
{
242242
<img
243-
className={`support__${rank}-avatar support__image`}
243+
className={`support__${rank}-avatar`}
244244
src={
245245
inView && supporter.avatar ? supporter.avatar : SmallIcon
246246
}

src/components/Support/Support.scss

-17
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,5 @@
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-
153
.support {
164
display: flex;
175
flex-wrap: wrap;
@@ -70,11 +58,6 @@
7058

7159
@media (min-width: 400px) {
7260
max-width: 384px;
73-
.support__image {
74-
width: 60px;
75-
height: 60px;
76-
padding: 2px;
77-
}
7861
}
7962
}
8063

0 commit comments

Comments
 (0)