Skip to content

Commit 367d18f

Browse files
committed
Client - BreadCrumb Refactor - Fixed Bug where text would slightly move due to on hover text resize effect
1 parent db5f1a7 commit 367d18f

1 file changed

Lines changed: 4 additions & 10 deletions

File tree

client/src/components/widgets/breadCrumb/BreadCrumb.vue

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,8 @@
77
<RouterLink
88
v-bind="hoverProps"
99
:to="{ name: getRouteName('HomePage') }"
10-
class="px-1 py-1 text-decoration-none"
11-
:class="
12-
isHovering
13-
? 'text-primary font-weight-medium'
14-
: 'text-medium-emphasis font-weight-medium'
15-
"
10+
class="px-1 py-1 text-decoration-none font-weight-medium"
11+
:class="isHovering ? 'text-primary' : 'text-medium-emphasis'"
1612
>
1713
{{ $t("titles.home") }}
1814
</RouterLink>
@@ -33,11 +29,9 @@
3329
<RouterLink
3430
v-bind="hoverProps"
3531
:to="{ name: item.link }"
36-
class="px-1 py-1 text-decoration-none"
32+
class="px-1 py-1 text-decoration-none font-weight-medium"
3733
:class="
38-
isHovering
39-
? 'text-primary font-weight-medium'
40-
: 'text-medium-emphasis font-weight-medium'
34+
isHovering ? 'text-primary' : 'text-medium-emphasis'
4135
"
4236
>
4337
{{ item.label }}

0 commit comments

Comments
 (0)