Skip to content

Commit

Permalink
#1465 changed naming IMAGE_SIZE to MAX_IMAGE_HEIGHT to be more descri…
Browse files Browse the repository at this point in the history
…ptive
  • Loading branch information
matej-vavrek committed Jun 28, 2024
1 parent d808ae7 commit 924de35
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions js/components/funders/fundersModal.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { CONTRIBUTORS, FUNDING, get_logo } from './constants';
import { Tooltip } from '@mui/material';

const COLUMNS = 5;
const IMAGE_SIZE = 90;
const MAX_IMAGE_HEIGHT = 90;

const useStyles = makeStyles(theme => ({
imageItem: {
Expand All @@ -26,13 +26,13 @@ const useStyles = makeStyles(theme => ({
margin: 'auto',
display: 'block',
maxWidth: 200,
maxHeight: IMAGE_SIZE
maxHeight: MAX_IMAGE_HEIGHT
},
customModal: {
width: '80%'
},
contributors: {
marginTop: IMAGE_SIZE
marginTop: MAX_IMAGE_HEIGHT
}
}));

Expand Down

0 comments on commit 924de35

Please sign in to comment.