Change flex to inline-flex (#4317)

Co-authored-by: Peer Richelsen <peeroke@gmail.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
pull/4263/head^2
sean-brydon 2022-09-09 09:00:54 +01:00 committed by GitHub
parent 342c281f3c
commit d7e523d365
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@ export const Button = forwardRef<HTMLAnchorElement | HTMLButtonElement, ButtonPr
ref: forwardedRef,
className: classNames(
// base styles independent what type of button it is
"flex items-center text-sm font-medium relative",
"inline-flex items-center text-sm font-medium relative",
// different styles depending on size
size === "base" && "h-9 px-4 py-2.5 ",
size === "lg" && "h-[36px] px-4 py-2.5 ",