Skip to content

Commit

Permalink
Fix navbar bug
Browse files Browse the repository at this point in the history
  • Loading branch information
aryanranderiya committed Aug 30, 2024
1 parent 6d76dbb commit 6ee0167
Showing 1 changed file with 9 additions and 13 deletions.
22 changes: 9 additions & 13 deletions frontend/src/styles/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ body {
transform: translateY(0);
}
100% {
transform: translateY(-100dvh);
transform: translateY(-100vh);
}
}

Expand Down Expand Up @@ -98,13 +98,9 @@ body {
max-width: 90px;
}





/* executives card design */

.card{
.card {
height: 300px;
width: 250px;
display: grid;
Expand All @@ -125,15 +121,15 @@ body {
transform: rotateY(180deg);
}

.card-front, .card-back {
.card-front,
.card-back {
position: absolute;
width: 100%;
height: 100%;
backface-visibility: hidden;
}


.card-front{
.card-front {
display: flex;
align-items: center;
justify-content: center;
Expand All @@ -149,7 +145,7 @@ body {
padding: 1em;
}

.card-descript{
.card-descript {
height: 80%;
width: 100%;
text-align: center;
Expand All @@ -159,20 +155,20 @@ body {
font-size: 12px;
}

.card-links{
.card-links {
height: 20%;
width: 100%;
display: flex;
align-items: center;
justify-content: space-evenly;
}

.card-links img{
.card-links img {
height: 20px;
margin-inline: 5px;
}

.card-links a:last-child img{
.card-links a:last-child img {
height: 40px;
margin-inline: 0;
}

0 comments on commit 6ee0167

Please sign in to comment.