Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/pr-title-conventional.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
set +H

# Pattern
PATTERN="^(build|chore|ci|docs|feat|fix|perf|refactor|revert|style|test){1}(\([\w\-\.]+\))?(!)?:"
PATTERN="^(build|chore|ci|docs|feat|fix|perf|refactor|revert|style|test)(\([[:alnum:]_.-]+\))?(!)?:[[:space:]].+$"

# Check if the PR title matches the expected pattern
if [[ ! '${{ github.event.pull_request.title }}' =~ $PATTERN ]]; then
Expand Down
5 changes: 3 additions & 2 deletions client/src/components/ui/button-link.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@ function Link({ className, ...props }: Readonly<Props>) {
return (
<a
className={twMerge(
`block w-full cursor-pointer truncate rounded-full px-8 py-2 text-center font-medium transition
select-none hover:opacity-90 disabled:cursor-not-allowed disabled:opacity-75`,
`block w-full cursor-pointer truncate rounded-full border border-transparent px-8 py-2 text-center
font-medium transition select-none hover:opacity-80 hover:active:border-current
disabled:cursor-not-allowed disabled:opacity-75`,
className
)}
{...props}
Expand Down
5 changes: 3 additions & 2 deletions client/src/components/ui/button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@ export function Button({ className, type = "button", ...props }: Readonly<Props>
return (
<button
className={twMerge(
`w-full cursor-pointer truncate rounded-full px-8 py-2 font-medium transition select-none
hover:opacity-90 disabled:cursor-not-allowed disabled:opacity-75`,
`w-full cursor-pointer truncate rounded-full border border-transparent px-8 py-2 font-medium transition
select-none hover:opacity-80 hover:active:border-current disabled:cursor-not-allowed
disabled:opacity-75`,
className
)}
type={type}
Expand Down