Skip to content

Commit

Permalink
fixed some ui issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Baz authored and Tim Baz committed Jun 30, 2023
1 parent d29fa9e commit ba90dbc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/categories/[categoryId]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ export default async function CategoryPage({ params }: CategoryPageProps) {
<h3 className="mt-6 text-xl font-semibold text-gray-900">
{word.title}
</h3>
<dl className="mt-1 flex flex-grow flex-col justify-between">
<dl className="mt-1 flex justify-center">
<dd className="mt-3 flex flex-col">
<span
className={cn(
Expand Down
2 changes: 1 addition & 1 deletion components/word/word-item.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const WordItem: React.FC<WordItemProps> = ({ word, saved, userId }) => {
<div className="flex">
{word.video ? (
<div className="rounded-md mx-auto mt-5">
<ReactPlayer url={word.video} controls={true} />
<ReactPlayer width="90%" height="100%" url={word.video} controls={true} />
</div>
) : (
<div className="mx-auto">
Expand Down

0 comments on commit ba90dbc

Please sign in to comment.