Skip to content

Commit

Permalink
Merge pull request #38 from YoubetDao/feat/fix-ui
Browse files Browse the repository at this point in the history
feat: fix ui in task-detail and markdown view
  • Loading branch information
Amateur0x1 authored Aug 16, 2024
2 parents a1e5082 + 1f81d1a commit b467e19
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/pages/task-detail/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ export default function TaskDetailPage() {

return (
<div className="px-4 py-4 mx-auto max-w-7xl lg:px-12">
<div className="flex flex-row w-full gap-5 mt-5">
<div className="flex flex-col-reverse xl:flex-row w-full gap-5 mt-5">
<article className="flex flex-col w-full gap-5">
<header>
<h1 className="text-4xl font-bold">{taskDetailItem.title}</h1>
Expand Down
2 changes: 1 addition & 1 deletion src/pages/tutorial/md-view.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const MdView = ({ content }: IMarkdownRendererProps) => {

return (
<div className="flex flex-col-reverse w-full gap-10 xl:flex-row">
{MdRenderer && <MdRenderer className="flex-1 max-w-[1024px]" />}
{MdRenderer && <MdRenderer className="flex-1 max-w-[720px]" />}
{TocSidebar && (
<TocSidebar className="block xl:sticky top-0 overflow-y-auto h-full w-[312px] xl:border-l xl:border-muted pl-4" />
)}
Expand Down

0 comments on commit b467e19

Please sign in to comment.