ui: Keep the flag box on the right
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
nemunaire 2021-12-10 23:02:32 +01:00
parent eb7697ed50
commit 0a15bd9756

View File

@ -142,22 +142,20 @@
{#if $my && $my.exercices[exercice.id]} {#if $my && $my.exercices[exercice.id]}
<Row class="mt-4"> <Row class="mt-4">
{#if $my.exercices[exercice.id].files || $my.exercices[exercice.id].hints} <Col lg="6" class="mb-5">
<Col lg="6" class="mb-5"> {#if $my.exercices[exercice.id].files}
{#if $my.exercices[exercice.id].files} <ExerciceDownloads
<ExerciceDownloads files={$my.exercices[exercice.id].files}
files={$my.exercices[exercice.id].files} />
/>
{/if}
{#if $my.exercices[exercice.id].hints}
<ExerciceHints
{refresh_my}
exercice={$my.exercices[exercice.id]}
hints={$my.exercices[exercice.id].hints}
/>
{/if}
</Col>
{/if} {/if}
{#if $my.exercices[exercice.id].hints}
<ExerciceHints
{refresh_my}
exercice={$my.exercices[exercice.id]}
hints={$my.exercices[exercice.id].hints}
/>
{/if}
</Col>
<Col lg="6" class="mb-5"> <Col lg="6" class="mb-5">
{#if !$my.exercices[exercice.id].solved_rank && !solved[exercice.id]} {#if !$my.exercices[exercice.id].solved_rank && !solved[exercice.id]}
<ExerciceFlags <ExerciceFlags