Skip to content

Commit

Permalink
fix: anchor button height (#4891)
Browse files Browse the repository at this point in the history
  • Loading branch information
kyle-ssg authored Dec 5, 2024
1 parent 0fdc0bb commit 7048c4c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/web/components/base/forms/Button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export const Button: FC<ButtonType> = ({
href={hasPlan ? href : Constants.getUpgradeUrl()}
rel='noreferrer'
>
<div className='d-flex align-items-center justify-content-center gap-2'>
<div className='d-flex h-100 align-items-center justify-content-center gap-2'>
{!!iconLeft && !!hasPlan && (
<Icon
fill={
Expand Down
4 changes: 4 additions & 0 deletions frontend/web/styles/project/_buttons.scss
Original file line number Diff line number Diff line change
Expand Up @@ -314,20 +314,24 @@ button.btn {
}
&-lg {
line-height: $btn-line-height-lg;
height: $btn-line-height-lg;
}

&-sm {
line-height: $btn-line-height-sm;
height: $btn-line-height-sm;
}
&-xsm {
padding: 0 12px;
line-height: $btn-line-height-xsm;
height: $btn-line-height-xsm;
font-size: $font-caption-sm;
border-radius: $border-radius-sm;
}
}

.btn-link {
display: inline-block;
text-decoration: none !important;
vertical-align: baseline;
font-family: $font-family;
Expand Down

0 comments on commit 7048c4c

Please sign in to comment.