Skip to content

Commit

Permalink
Arreglo css estadísticas y ranking
Browse files Browse the repository at this point in the history
  • Loading branch information
UO289659 committed Apr 23, 2024
1 parent 3468272 commit 7eeaf6b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
4 changes: 2 additions & 2 deletions webapp/src/components/Ranking.css
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
border-radius: 1em;
align-items: center;
text-align: center;
margin:1vh;
margin:3vh;
}

.label-large {
Expand All @@ -48,7 +48,7 @@ table {
width: 100%;
border-radius: 8px;
border-collapse: separate; /* Usar 'separate' para poder especificar 'border-spacing' */
border-spacing: 0.5vh; /* Espacio horizontal y vertical entre las celdas */
border-spacing: 2vh; /* Espacio horizontal y vertical entre las celdas */
background-color: #fff;
text-align: center;
}
Expand Down
6 changes: 6 additions & 0 deletions webapp/src/components/Statistics.css
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,9 @@ th {
background-color: #fff;
border-radius: 8px;
}
h2{
color:#EE0E51;
font-family: Calibri, sans-serif;
font-size: 2em;
background-color: #fff;
}
2 changes: 1 addition & 1 deletion webapp/src/components/Statistics.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const Statistics= () => {
<div className="title">
<img src="/estadisticas.png" alt="Título como imagen" className="title-image" />
</div>

{error ? ( // Verificar si hay un error
<p>Error: {error}</p>
) : userData ? (
Expand Down

0 comments on commit 7eeaf6b

Please sign in to comment.