Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/components/Support/Support.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ export default class Support extends Component {
>
{
<img
className={`support__${rank}-avatar support__image`}
className={`support__${rank}-avatar`}
src={
inView && supporter.avatar ? supporter.avatar : SmallIcon
}
Expand Down
17 changes: 0 additions & 17 deletions src/components/Support/Support.scss
Original file line number Diff line number Diff line change
@@ -1,17 +1,5 @@
@import 'functions';

.support__image {
width: 100px; /* Default width */
height: 100px; /* Default height */
object-fit: contain; /* Maintain aspect ratio */
border-radius: 10px; /* Rounded corners */
background-color: white; /* Fallback background */
padding: 3px; /* Spacing */

/* Responsive adjustments */
max-width: 100%;
}

.support {
display: flex;
flex-wrap: wrap;
Expand Down Expand Up @@ -70,11 +58,6 @@

@media (min-width: 400px) {
max-width: 384px;
.support__image {
width: 60px;
height: 60px;
padding: 2px;
}
}
}

Expand Down