fix example env and give planet table some space

This commit is contained in:
Calli
2023-08-02 14:46:39 +03:00
parent dbcf3a5a4f
commit 0fcc44274f
3 changed files with 8 additions and 7 deletions

View File

@@ -2,4 +2,4 @@
EVE_SSO_CLIENT_ID=Client ID
EVE_SSO_SECRET=Secret Key
EVE_SSO_CALLBACK_URL=Callback URL (This should be the domain you are hosting at or if run locally it should be http://localhost:3000)
NEXT_PUBLIC_PRAISAL_URLPRAISAL_URL=https://praisal.avanto.tk/appraisal/structured.json?persist=no
NEXT_PUBLIC_PRAISAL_URL=https://praisal.avanto.tk/appraisal/structured.json?persist=no

View File

@@ -195,12 +195,13 @@ export const PlanetTableRow = ({
planet.planet_type.slice(1)
} planet.`}
>
<div style={{ display: "flex" }}>
<div style={{ display: "flex", minWidth: "8em" }}>
<Image
src={`/${planet.planet_type}.png`}
alt=""
width={theme.custom.cardImageSize / 6}
height={theme.custom.cardImageSize / 6}
style={{marginRight: "5px"}}
/>
{planetInfoUniverse?.name}
</div>
@@ -288,7 +289,7 @@ export const PlanetTableRow = ({
</div>
</TableCell>
<TableCell>
<div style={{ display: "flex", flexDirection: "column" }}>
<div style={{ display: "flex", flexDirection: "column", minWidth: "4em", textAlign: "end" }}>
{exports.map((e) => (
<Typography
key={`export-praisal-${character.character.characterId}-${planet.planet_id}-${e.typeId}`}

View File

@@ -49,7 +49,7 @@ const PlanetaryIteractionTable = ({
<Table size="small" aria-label="a dense table">
<TableHead>
<TableRow>
<TableCell width="13%">
<TableCell width="8%">
<Typography fontSize={theme.custom.smallText}>
Planet
</Typography>
@@ -59,7 +59,7 @@ const PlanetaryIteractionTable = ({
<Typography fontSize={theme.custom.smallText}>CC</Typography>
</Tooltip>
</TableCell>
<TableCell width="20%">
<TableCell width="24%">
<Tooltip title="Extractor status and products">
<Typography fontSize={theme.custom.smallText}>
Extraction
@@ -87,12 +87,12 @@ const PlanetaryIteractionTable = ({
</Typography>
</Tooltip>
</TableCell>
<TableCell width="5%">
<TableCell width="2%">
<Tooltip title="How many units per hour factories are producing">
<Typography fontSize={theme.custom.smallText}>u/h</Typography>
</Tooltip>
</TableCell>
<TableCell width="5%">
<TableCell width="4%" align="right">
<Tooltip title="How many million ISK per month this planet is exporting (Jita sell min)">
<Typography fontSize={theme.custom.smallText}>
ISK/M