Fix UI issue on passed-label
This commit is contained in:
parent
97dd952e4f
commit
70b3138574
|
|
@ -73,7 +73,7 @@ function findUserPointsHtml(userId: string) {
|
||||||
"%)";
|
"%)";
|
||||||
|
|
||||||
if (!gradedUser.passed) {
|
if (!gradedUser.passed) {
|
||||||
result += ` <span class="my-2 rounded-md bg-error-red-200 px-2.5 py-0.5">${t(
|
result += ` <span class="my-2 rounded-md bg-error-red-200 px-2.5 py-0.5 inline-block leading-5">${t(
|
||||||
"a.Nicht bestanden"
|
"a.Nicht bestanden"
|
||||||
)}</span>`;
|
)}</span>`;
|
||||||
}
|
}
|
||||||
|
|
@ -157,10 +157,11 @@ function findUserPointsHtml(userId: string) {
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- eslint-disable vue/no-v-html -->
|
<!-- eslint-disable vue/no-v-html -->
|
||||||
<div
|
<p
|
||||||
v-if="findGradedUser(csu.user_id) && !isPraxisAssignment"
|
v-if="findGradedUser(csu.user_id) && !isPraxisAssignment"
|
||||||
|
class="text-left md:text-right"
|
||||||
v-html="findUserPointsHtml(csu.user_id)"
|
v-html="findUserPointsHtml(csu.user_id)"
|
||||||
></div>
|
></p>
|
||||||
</section>
|
</section>
|
||||||
</template>
|
</template>
|
||||||
<template #link>
|
<template #link>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue