diff --git a/src/components/servantCard.astro b/src/components/servantCard.astro index 96fddff..8151cb2 100644 --- a/src/components/servantCard.astro +++ b/src/components/servantCard.astro @@ -66,7 +66,7 @@ if (bond10 === 'false') { flex-direction: column; background-color: var(--c-darkergray); border-color: var(--c-darkgray); - padding: 0em 0.75em; + padding: 0em 0.75em 0.5rem 0.75em; width: 40%; height: auto; justify-content: center; @@ -96,7 +96,7 @@ if (bond10 === 'false') { transform: scaleY(0); transform-origin: top; position: absolute; - top: 95%; + top: 92.5%; left: 0px; right: 0px; border-radius: 0px 0px 1.25rem 1.25rem; @@ -119,7 +119,7 @@ if (bond10 === 'false') { @media (min-width: 512px) { article { - padding: 10px 10px; + padding: 10px; width: auto; height: auto; } @@ -132,5 +132,9 @@ if (bond10 === 'false') { .bond-ce { height: 3.5rem; } + + .expand-on-hover { + top: 95%; + } }