Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix-11 #22

Merged
merged 2 commits into from
Sep 16, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions src/app/shared/components/timeline/timeline.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
class="grid grid-cols-2 md:grid-cols-4 gap-10">
<div
class="relative pb-12 md:col-span-2 text-right space-x-4 justify-self-end md:w-64 mx-2">
<div class="sticky top-0" *ngIf="i % 2 == 0" (click)="openModal(item)">
<h3 class="text-lg md:text-xl font-bold text-primary">
<div class=" hover:scale-110 duration-700 transition-transform cursor-pointer sticky top-0" *ngIf="i % 2 == 0" (click)="openModal(item)">
<h3 class=" text-lg md:text-xl font-bold text-primary">
{{ item.name }}
</h3>
<h4
Expand All @@ -18,14 +18,15 @@ <h3 class="text-lg md:text-xl font-bold text-primary">
</div>
</div>
<div
class="relative md:mx-12 mx-2 pb-12 before:absolute before:left-[-35px] before:block before:h-full before:border-l-2 before:border-black/20 dark:before:border-white/15 before:content-['']">
class=" relative md:mx-12 mx-2 pb-12 before:absolute before:left-[-35px] before:block before:h-full before:border-l-2 before:border-black/20 dark:before:border-white/15 before:content-['']">
<div class="relative pb-12 space-x-4 md:col-span-2 md:w-64 ">
<div class="sticky top-0" *ngIf="i % 2 != 0" (click)="openModal(item)">
<span
class="text-primary -left-[42px] absolute rounded-full text-5xl">&bull;</span>
<div class="hover:scale-110 duration-700 transition-transform cursor-pointer">

<h3
class="text-lg md:text-xl font-bold text-primary">
class=" text-lg md:text-xl font-bold text-primary">
{{ item.name }}
</h3>
<h4
Expand All @@ -35,6 +36,8 @@ <h3 class="text-lg md:text-xl font-bold text-primary">
<time
class="p-0 m-0 text-sm text-gray-600/80 dark:text-white/80">{{
item.time }}</time>
</div>

</div>
</div>
</div>
Expand Down