Skip to content

Commit 4e893ef

Browse files
committed
fix: refactor link styles in OIDC and Templates documentation to use a shared class
1 parent 5770188 commit 4e893ef

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

frontend/src/assets/styles/main.scss

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -359,3 +359,10 @@ a[data-active='false']:hover {
359359
[data-radix-popper-content-wrapper] {
360360
z-index: 9999 !important;
361361
}
362+
363+
// Components
364+
@layer components {
365+
.link-style {
366+
@apply text-blue-500 hover:underline;
367+
}
368+
}

frontend/src/views/admin/oidc/OIDC.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
href="https://libredesk.io/docs/sso/"
1111
target="_blank"
1212
rel="noopener noreferrer"
13-
class="text-blue-500 hover:underline"
13+
class="link-style"
1414
>
1515
<p>Learn more</p>
1616
</a>

frontend/src/views/admin/templates/Templates.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
<template #help>
4949
<p>Design templates for customer communications and responses.</p>
5050
<p>Modify content for internal and external emails.</p>
51-
<a href="https://libredesk.io/docs/templating/" target="_blank" rel="noopener noreferrer" class="text-blue-500 hover:underline">
51+
<a href="https://libredesk.io/docs/templating/" target="_blank" rel="noopener noreferrer" class="link-style">
5252
<p>Learn more</p>
5353
</a>
5454
</template>

0 commit comments

Comments
 (0)