Skip to content

Commit

Permalink
fix(TextLink): add missing line-height
Browse files Browse the repository at this point in the history
  • Loading branch information
mainframev committed Nov 8, 2023
1 parent 6ff85ac commit 58079b6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/orbit-components/src/TextLink/helpers/twClasses.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ import { SIZE_OPTIONS, TYPE_OPTIONS } from "../consts";
import type { Type as ALERT_TYPE } from "../../Alert/types";

export const sizeClasses: Record<SIZE_OPTIONS, string> = {
[SIZE_OPTIONS.SMALL]: "text-small",
[SIZE_OPTIONS.NORMAL]: "text-normal",
[SIZE_OPTIONS.LARGE]: "text-large",
[SIZE_OPTIONS.EXTRA_LARGE]: "text-extra-large",
[SIZE_OPTIONS.SMALL]: "text-small leading-small",
[SIZE_OPTIONS.NORMAL]: "text-normal leading-normal",
[SIZE_OPTIONS.LARGE]: "text-large leading-large",
[SIZE_OPTIONS.EXTRA_LARGE]: "text-extra-large leading-extra-large",
};

export const typeClasses: Record<TYPE_OPTIONS, string> = {
Expand Down

0 comments on commit 58079b6

Please sign in to comment.