Skip to content

Commit

Permalink
Merge pull request #90 from admisio/fix/word_wrap
Browse files Browse the repository at this point in the history
  • Loading branch information
EETagent authored Apr 10, 2024
2 parents 3111dab + 9ff6ec9 commit 9f663da
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions apps/web/src/lib/components/testpreview/TestPreview.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@
<div class="w-full">
{#if heading && heading.title}
<h2
class="text-ellipsis break-all text-center text-2xl font-bold dark:text-gray-400 md:text-left"
class="text-ellipsis break-words text-center text-2xl font-bold dark:text-gray-400 md:text-left"
>
{@html heading.title}
</h2>
{/if}
{#if heading && heading.description}
<p class="mt-4 text-ellipsis break-all text-xl font-serif dark:text-gray-400">
<p class="mt-4 text-ellipsis break-words text-xl font-serif dark:text-gray-400">
{@html heading.description}
</p>
{/if}
Expand Down
2 changes: 1 addition & 1 deletion apps/web/src/lib/components/testview/TestResult.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
<div class="mt-12 w-full">
<div class="title-wrapper">
<h2
class="text-ellipsis break-all text-center text-2xl font-bold dark:text-gray-400 md:text-left"
class="text-ellipsis break-words text-center text-2xl font-bold dark:text-gray-400 md:text-left"
>
{i + 1}. {@html question.title}
</h2>
Expand Down

0 comments on commit 9f663da

Please sign in to comment.