Skip to content

Commit 1cff572

Browse files
committed
button fixed
1 parent 673066b commit 1cff572

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

style.css

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -597,6 +597,10 @@ body.dark-mode footer {
597597
margin-bottom: 2rem;
598598
border: 2px solid #c3c6ce;
599599
position: relative;
600+
display: flex;
601+
flex-direction: column;
602+
justify-content: space-between;
603+
padding-bottom: 1.5rem;
600604
}
601605

602606
.event-card:not(:hover) {
@@ -683,15 +687,20 @@ body.dark-mode footer {
683687
}
684688

685689
.register-button {
686-
width: 60%;
690+
width: 8rem;
687691
border-radius: 1rem;
688692
border: none;
689693
color: #ffffff !important;
690694
background-color: var(--primary-color);
691695
font-size: 1rem;
692696
padding: 0.5rem 1rem;
693697
position: relative;
694-
left: 30%;
698+
/* left: 32vw; */
699+
left: 49%;
700+
transform: translateX(-50%);
701+
display: flex;
702+
justify-content: center;
703+
align-items: center;
695704
bottom: 0;
696705
text-decoration: none;
697706
transition: background-color 0.3s ease;

0 commit comments

Comments
 (0)