Skip to content

Commit

Permalink
style: align button styles
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoEscaleira committed Apr 20, 2024
1 parent 16cc91f commit 889d251
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/components/Header/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export function Header() {
return (
<>
<header
className={`fixed left-0 top-0 z-10 w-full px-2 py-2 sm:px-6 sm:py-4 md:px-4 ${isHome ? "bg-transparent" : "bg-white"} ${top > 5 ? "shadow" : ""}`}
className={`fixed left-0 top-0 z-10 w-full px-2 py-2 sm:px-6 sm:py-4 md:px-4 ${isHome ? "bg-transparent" : "bg-white"} ${top > 5 && !isHome ? "shadow" : ""}`}
>
<div className="flex items-center justify-between">
<Tooltip content="Home">
Expand Down
2 changes: 1 addition & 1 deletion src/components/QuizComments/QuizComments.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export function QuizComments() {
<form onSubmit={handleSubmit(onSubmit)}>
<Textarea {...register("text")} size="lg" label="Comment" error={!!errors.text} />
<Button
color="blue"
color="green"
type="submit"
loading={loadingCreateComment}
disabled={loadingCreateComment || !form.formState.isDirty}
Expand Down
2 changes: 1 addition & 1 deletion src/components/TagsInput/react-tagsinput.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

.react-tagsinput-tag {
background-color: rgb(51 65 85);
border-radius: 2px;
border-radius: 6px;
border: 1px solid rgb(33 33 33 / 1);
color: #fff;
display: inline-block;
Expand Down
2 changes: 1 addition & 1 deletion src/pages/Game/CountryQuizCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export const CountryQuizCard = ({ id, image, title, description, difficulty, tim
</div>
</CardBody>
<CardFooter className="px-6 pb-4 pt-0">
<Button size="md" color="blue" fullWidth={true} onClick={() => navigate(`/game/quiz/${id}`)}>
<Button size="md" color="black" fullWidth={true} onClick={() => navigate(`/game/quiz/${id}`)}>
Go to quiz
</Button>
</CardFooter>
Expand Down
2 changes: 1 addition & 1 deletion src/pages/Game/CountryQuizList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export const CountryQuizList = ({ quizList, isLoadingCountryQuizList }: CountryQ

{isLoggedIn && (
<Tooltip content="Create a quiz">
<Button variant="outlined" color="green" size="md" onClick={goToQuizForm} className="p-3">
<Button variant="outlined" color="black" size="md" onClick={goToQuizForm} className="p-3">
<Plus />
</Button>
</Tooltip>
Expand Down

0 comments on commit 889d251

Please sign in to comment.