Skip to content

Commit ca22257

Browse files
Merge pull request #469 from Bootstrap-Academy/feature/fix-lecture-error
Fix docs link underline styling without invalid selectors
2 parents fc22ffd + 75b6ac5 commit ca22257

File tree

3 files changed

+40
-5
lines changed

3 files changed

+40
-5
lines changed

pages/docs/privacy.vue

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -641,11 +641,26 @@ ol li {
641641
@apply ml-10 list-decimal mt-box;
642642
}
643643
644-
a:not(.table-content li a) {
645-
@apply underline-link cursor-pointer;
644+
a {
645+
@apply relative cursor-pointer pb-2;
646+
}
647+
648+
a::after {
649+
content: "";
650+
position: absolute;
651+
width: max(50%, 25px);
652+
height: 1px;
653+
background-color: var(--color-accent);
654+
bottom: 0;
655+
left: 0;
646656
}
647657
648658
.table-content li a {
649-
@apply block cursor-pointer mt-card-sm;
659+
@apply block cursor-pointer pb-0 mt-card-sm;
660+
position: static;
661+
}
662+
663+
.table-content li a::after {
664+
content: none;
650665
}
651666
</style>

pages/docs/right-of-withdrawal.vue

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,16 @@ ul li {
166166
}
167167
168168
a {
169-
@apply underline-link cursor-pointer;
169+
@apply relative cursor-pointer pb-2;
170+
}
171+
172+
a::after {
173+
content: "";
174+
position: absolute;
175+
width: max(50%, 25px);
176+
height: 1px;
177+
background-color: var(--color-accent);
178+
bottom: 0;
179+
left: 0;
170180
}
171181
</style>

pages/docs/terms-and-conditions.vue

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -493,6 +493,16 @@ ul li {
493493
@apply ml-10 list-disc mt-box;
494494
}
495495
a {
496-
@apply underline-link cursor-pointer;
496+
@apply relative cursor-pointer pb-2;
497+
}
498+
499+
a::after {
500+
content: "";
501+
position: absolute;
502+
width: max(50%, 25px);
503+
height: 1px;
504+
background-color: var(--color-accent);
505+
bottom: 0;
506+
left: 0;
497507
}
498508
</style>

0 commit comments

Comments
 (0)