chore(design): minor width fixes + remove a useless console.log@@ -1,5 +1,5 @@
{
- "_generatedAtUnix": 1663839168820,
+ "_generatedAtUnix": 1663839458004,
"_hashAlgorithm": "sha1",
"_version": 2,
"islands": {
@@ -22,7 +22,7 @@
"pathSourceMap": "./public/.islands/RepositoryCreateForm.bundle.js.map"
},
"RepositoryFilesDiffsList": {
- "hash": "9b4c9043730e3c41c7d7f4f86b90745331cd91b2",
+ "hash": "aa3f65c492e626fc1ea7d552bc6813bf6667914d",
"pathSource": "./app/islands/RepositoryFilesDiffsList.tsx",
"pathBundle": "./public/.islands/RepositoryFilesDiffsList.bundle.js",
"pathSourceMap": "./public/.islands/RepositoryFilesDiffsList.bundle.js.map"
@@ -35,13 +35,6 @@ const getRepositoryDetailsView: ReqHandler = async (request, reply) => {
return reply.status(404).callNotFound();
}
- const lastDiff = await repoService.getRepositoryRefDiff(
- repo,
- "HEAD",
- "HEAD^^"
- );
- console.log("lastDiff:", lastDiff);
-
const readmeFiles = await repoService.isFileInRepositoryPath(
repo,
"",
@@ -29,11 +29,11 @@ const RepositoryFilesDiffsList: ReactIsland<
> = ({ commitHash, filesDiffs, orgSlug, repoSlug, themeScheme }) => (
<>
{getThemedCodeCss(themeScheme)}
- <div style={{ marginTop: 24 }}>
+ <div style={{ marginTop: 24, width: "100%" }}>
{filesDiffs.map(({ chunks, ...diff }) => (
<Card
key={[diff.from, diff.to].join(":")}
- style={{ marginTop: 16 }}
+ style={{ marginTop: 16, width: "100%" }}
themeScheme={themeScheme}
>
<Grid.Col fluid nowrap>
@@ -63,7 +63,7 @@ const RepositoryFilesDiffsList: ReactIsland<
</div>
</Grid.Row>
</Grid.Col>
- <div>
+ <div style={{ width: "100%" }}>
{chunks.map((chunk, idx) => (
<Code
key={[idx, chunk.content].join(":")}