Skip to content

Commit

Permalink
Cambio final pequeño de visualizado
Browse files Browse the repository at this point in the history
  • Loading branch information
uo289792 committed Apr 28, 2024
1 parent cb7197a commit 0fbd431
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions webapp/src/components/Ranking.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ const Ranking = () => {
const [rankingTable, setRankingTable] = useState([]);
const [sortBy, setSortBy] = useState('ratio');
const [userLimit, setUserLimit] = useState(10);
const isMobile = window.innerWidth <= 768;

const getRanking = useCallback(async () => {
try {
Expand Down Expand Up @@ -81,10 +80,7 @@ const Ranking = () => {

return (
<CustomContainer>
<Box border={2} borderColor="black" p={3} borderRadius={8} bgcolor="#EE6D72" mb={5}
style={{
marginTop: isMobile ? '100px' : '100px',
}}>
<Box border={2} borderColor="black" p={3} borderRadius={8} bgcolor="#EE6D72" mb={5} marginTop={12}>
<Typography variant="h5" align="center" style={{ color: 'white', fontWeight: 'bold', marginBottom: '16px' }}>
{t("textoTop")}
</Typography>
Expand Down

0 comments on commit 0fbd431

Please sign in to comment.