handling the component styles

This commit is contained in:
Antoine M 2024-07-10 15:36:34 +02:00
parent 825aa017a9
commit 9ec437ef34
2 changed files with 3 additions and 2 deletions

View File

@ -1,5 +1,5 @@
.parcours-chapter { .parcours-chapter {
@apply p-4 pb-12 grid; @apply p-4 pt-16 !my-20 grid;
grid-template-columns: 42% 16% 42%; grid-template-columns: 42% 16% 42%;
&:nth-child(even) { &:nth-child(even) {
.parcours-chapter__cover { .parcours-chapter__cover {

View File

@ -4,6 +4,7 @@
@apply block absolute w-10 h-full rounded-full bg-secondary opacity-10; @apply block absolute w-10 h-full rounded-full bg-secondary opacity-10;
z-index: -1; z-index: -1;
content: ''; content: '';
left: 49%; left: 50%;
transform: translateX(-50%);
} }
} }