Skip to content

Commit 70e2c32

Browse files
committed
Update: applied underlined style instead
1 parent 097afa2 commit 70e2c32

File tree

1 file changed

+8
-11
lines changed

1 file changed

+8
-11
lines changed

error.vue

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<script setup lang="ts">
22
import '@/assets/css/slide-enter.sass'
3+
import '@/assets/css/underlined.sass'
34
45
interface RootError {
56
statusCode?: number
@@ -23,20 +24,24 @@ useSeoMetaHelper({
2324
{{ error?.statusMessage || `Error ${error.statusCode}` }}
2425
</p>
2526
<p m-block-0>
26-
At location: <span font-mono text-sm class="location">{{ useRouter().currentRoute.value.path }}</span>
27+
At location: <span text-sm font-mono class="location">{{ useRouter().currentRoute.value.path }}</span>
2728
</p>
2829
<p m-block-0 text-sm>
2930
Note: The current location maybe different from the error one
3031
</p>
3132
<div mt-2 :if="error.message">
3233
With message:
33-
<div font-mono text-sm class="reason">
34+
<div class="reason" text-sm font-mono>
3435
{{ error.message || '<undefined>' }}
3536
</div>
3637
</div>
3738
<p m-block-0>
3839
In case if you have some time, you can
39-
<NuxtLink href="https://github.com/Helltraitor/helltraitor.github.io/issues/new" target="_blank">
40+
<NuxtLink
41+
class="underlined"
42+
href="https://github.com/Helltraitor/helltraitor.github.io/issues/new"
43+
target="_blank"
44+
>
4045
report issue
4146
</NuxtLink>
4247
</p>
@@ -54,12 +59,4 @@ main
5459
background-color: var(--c-bg-code)
5560
border-radius: 0.25rem
5661
padding: 0.10rem
57-
58-
a
59-
border-bottom: 1px solid rgba(125,125,125,.3)
60-
transition: border .3s ease-in-out
61-
62-
a:hover
63-
border-bottom: 1px solid rgba(125,125,125, 1)
64-
transition: border .3s ease-in-out
6562
</style>

0 commit comments

Comments
 (0)