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) {
|
||||
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"
|
||||
)}</span>`;
|
||||
}
|
||||
|
|
@ -157,10 +157,11 @@ function findUserPointsHtml(userId: string) {
|
|||
</div>
|
||||
|
||||
<!-- eslint-disable vue/no-v-html -->
|
||||
<div
|
||||
<p
|
||||
v-if="findGradedUser(csu.user_id) && !isPraxisAssignment"
|
||||
class="text-left md:text-right"
|
||||
v-html="findUserPointsHtml(csu.user_id)"
|
||||
></div>
|
||||
></p>
|
||||
</section>
|
||||
</template>
|
||||
<template #link>
|
||||
|
|
|
|||
Loading…
Reference in New Issue