Skip to content

Commit

Permalink
Solucionados pequeños errores
Browse files Browse the repository at this point in the history
  • Loading branch information
UO289337 committed Apr 17, 2024
1 parent eec687b commit 1f32c7a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion webapp/src/components/Game.js
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ const Game = () => {
{question}
</Typography>
<div style={{ display: 'flex', justifyContent: 'center' }}>
{image !== null && image !== "" && <img src={image} alt="Imagen de la pregunta" width="80%" height="auto"/>}
{image !== null && image !== "" && <img src={image} alt="Imagen de la pregunta" width="60%" height="auto"/>}
</div>
<div style={{ display: 'grid', gridTemplateColumns: 'repeat(2, 1fr)', gap: '10px', alignItems: 'center', marginTop: '20px' }}>
{options.map((option, index) => (
Expand Down
3 changes: 3 additions & 0 deletions webapp/src/components/GameConfiguration.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,8 @@ const GameConfiguration = () => {
max: 60,
}}
/>
<Typography component="p" variant="p" align="center" sx={{ marginBottom: 2, fontWeight: 'bold' }}>
Selecciona las tematicas de la pregunta para poder jugar
</Typography>
<div>
<select onChange={handleOptionSelect}>
Expand All @@ -124,6 +126,7 @@ const GameConfiguration = () => {
{error && (
<Snackbar open={!!error} autoHideDuration={6000} onClose={() => setError('')} message={`Error: ${error}`} />
)}
</div>
</Container>
);
};
Expand Down

0 comments on commit 1f32c7a

Please sign in to comment.