Skip to content

Commit

Permalink
fix(pill): align the text.
Browse files Browse the repository at this point in the history
  • Loading branch information
Theo-Messi committed Jan 20, 2025
1 parent 2e1a6ef commit 4d7c0cb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/components/DocPill.vue
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ const pill = defineProps<Pill>()
display: inline-flex;
align-items: center;
gap: 0.25em;
transform: translateY(1px);
transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
margin: 0 0.125em;
border: 1px solid var(--Pill-border);
Expand Down
2 changes: 1 addition & 1 deletion src/theme/components-var.css
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
--Pill-bg-hover: var(--vp-c-brand-soft);
--Pill-border-hover: var(--vp-c-brand-soft);
--Pill-boxshadow-hover: 0 2px 4px rgba(0, 0, 0, 0.1);
--Pill-transform-hover: translateY(-1px);
--Pill-transform-hover: translateY(0px);
--Pill-transform-active: scale(0.95);

/**
Expand Down

0 comments on commit 4d7c0cb

Please sign in to comment.