Skip to content

Commit

Permalink
Refactor #344 - For Timeline
Browse files Browse the repository at this point in the history
  • Loading branch information
tugcekucukoglu committed Nov 7, 2024
1 parent 10a1285 commit fa1443c
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions assets/styles/primevue/timeline.css
Original file line number Diff line number Diff line change
@@ -1,45 +1,45 @@
.p-timeline {
@apply flex flex-col flex-grow
@apply flex flex-col flex-grow
}

.p-timeline-left .p-timeline-event-opposite {
@apply text-right
@apply text-end
}

.p-timeline-left .p-timeline-event-content {
@apply text-left
@apply text-start
}

.p-timeline-right .p-timeline-event {
@apply flex-row-reverse
}

.p-timeline-right .p-timeline-event-opposite {
@apply text-left
@apply text-start
}

.p-timeline-right .p-timeline-event-content {
@apply text-right
@apply text-end
}

.p-timeline-vertical.p-timeline-alternate .p-timeline-event:nth-child(even) {
@apply flex-row-reverse
}

.p-timeline-vertical.p-timeline-alternate .p-timeline-event:nth-child(odd) .p-timeline-event-opposite {
@apply text-right
@apply text-end
}

.p-timeline-vertical.p-timeline-alternate .p-timeline-event:nth-child(odd) .p-timeline-event-content {
@apply text-left
@apply text-start
}

.p-timeline-vertical.p-timeline-alternate .p-timeline-event:nth-child(even) .p-timeline-event-opposite {
@apply text-left
@apply text-start
}

.p-timeline-vertical.p-timeline-alternate .p-timeline-event:nth-child(even) .p-timeline-event-content {
@apply text-right
@apply text-end
}

.p-timeline-vertical .p-timeline-event-opposite,
Expand All @@ -64,7 +64,7 @@
}

.p-timeline-event-separator {
@apply flex-none flex flex-col items-center
@apply flex-none flex flex-col items-center
}

.p-timeline-event-marker {
Expand Down Expand Up @@ -110,4 +110,4 @@

.p-timeline-bottom .p-timeline-event {
@apply flex-col-reverse
}
}

0 comments on commit fa1443c

Please sign in to comment.