Skip to content
This repository has been archived by the owner on Jun 13, 2024. It is now read-only.

Commit

Permalink
Text align left
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric Dattore committed Sep 8, 2023
1 parent 15671be commit 3403002
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/pages/c/[configKind]/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,10 @@ export async function getStaticPaths() {
const type = ordered ? 'ol' : 'ul';
const className = ordered ? 'list-decimal' : 'list-disc';
return `<${type} class="${className} list-inside">${body}</${type}>`
return `
<div class="text-left">
<${type} class="${className} list-inside text-left">${body}</${type}>
</div>`;
};
const paths = await Promise.all(configKinds.map(async (configKind) => {
Expand Down

0 comments on commit 3403002

Please sign in to comment.