Skip to content

Commit

Permalink
fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
Herobread committed Jun 20, 2024
1 parent efe1137 commit 4c4f36e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/pages/content/pages/Folder.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,9 @@ export default function Folder({ content }: FolderProps) {
fileLinks={fileLinks}
sortLinks={sortLinks}
/>
<div className="prose">{extraContent}</div>
{extraContent && !isLoading && (
<div className="prose w-full">{extraContent}</div>
)}
<FileMetricsTracker fileLinks={fileLinks} />
</MainLayout>
</div>
Expand Down
7 changes: 7 additions & 0 deletions tailwind.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,13 @@ module.exports = {
},
},
extend: {
typography: {
DEFAULT: {
css: {
maxWidth: "100ch",
},
},
},
gridTemplateColumns: {
files: "max-content auto 4fr max-content max-content 3fr",
},
Expand Down

0 comments on commit 4c4f36e

Please sign in to comment.