Skip to content

Commit

Permalink
Added word-break to break long texts into the next line.
Browse files Browse the repository at this point in the history
Fixed the div-title to be the same than the Error-Message. Else it would break the Glitch Animation. Thanks @Chel-Jessen
  • Loading branch information
JoeD84 committed Oct 28, 2024
1 parent 8145fff commit 102545b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions error.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
<main class="container-fluid pb-container mt-main grid gap-container grid-cols-1 ">
<section class="bg-secondary card style-card grid gap-card-sm container">

<div title="404" class="error-code text-accent ">{{ error?.statusCode }}</div>
<div :title="error?.statusCode.toString()" class="error-code text-accent ">{{ error?.statusCode }}</div>

<h1 class="error-message">{{ error?.message }}</h1>
<h1 class="error-message" style="word-break: break-word">{{ error?.message }}</h1>

<InputBtn class="w-full" @click="navigateTo('/')">
Go Home
Expand Down

0 comments on commit 102545b

Please sign in to comment.