Skip to content

Commit

Permalink
chore: improve alignment
Browse files Browse the repository at this point in the history
  • Loading branch information
abtx committed Aug 21, 2023
1 parent 88ff091 commit bd6c06d
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions src/components/GlossarySearch/GlossaryCard.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
.glossary-term__card {
display: flex;
flex-direction: column;
gap: 1rem;
gap: .5rem;
padding: 1rem;
border: 1px solid var(--border-color);
border-radius: 8px;
Expand All @@ -20,12 +20,6 @@
display: flex;
gap: 0.5rem;
align-items: baseline;
padding: 0.5rem 0.5rem 0 0.5rem;
}

.glossary-term__card-description {
padding: 0 0.5rem 0.5rem 0.5rem;
border-radius: 6px;
}

/* Hover animations */
Expand All @@ -50,6 +44,8 @@
background-position: 0 0;
display: inline;
transition: .2s ease-in;
padding-left: 1.5rem;

}

/* link */
Expand All @@ -61,6 +57,8 @@
align-items: center;
gap: 0.325rem;
width: fit-content;
padding-left: 1.5rem;

}

.glossary-term__card-link:hover .arrow-icon {
Expand Down

0 comments on commit bd6c06d

Please sign in to comment.