Skip to content

Commit

Permalink
docs(variables): fix card alignment (#2084)
Browse files Browse the repository at this point in the history
  • Loading branch information
larsrickert authored Nov 13, 2024
1 parent 4d5f746 commit 9032ba7
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion apps/docs/src/.vitepress/components/DesignVariableCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const handleCopy = async () => {

<template>
<div ref="wrapperRef" class="card vp-raw" :class="{ 'card--wide': props.wideName }">
<div>
<div class="card__wrapper">
<div class="card__name">
<slot name="name">
<DesignVariable :name="props.name" :is-copied="isCopied" allow-copy @copy="handleCopy" />
Expand Down Expand Up @@ -76,6 +76,11 @@ const handleCopy = async () => {
grid-template-columns: 1fr 1fr;
}
&__wrapper {
display: flex;
flex-direction: column;
}
&__name {
display: flex;
flex-direction: column;
Expand Down

0 comments on commit 9032ba7

Please sign in to comment.