1
0

Small HTML fix

This commit is contained in:
Ahmed Al-Taiar
2023-11-25 16:34:43 -05:00
parent 2dc6a867fb
commit f30d5539b0
3 changed files with 7 additions and 28 deletions

View File

@ -1,27 +1,9 @@
# These environment variables will be used by default if you do not create any
# yourself in .env. This file should be safe to check into your version control
# system. Any custom values should go in .env and .env should *not* be checked
# into version control.
# schema.prisma defaults
DATABASE_URL=file:./dev.db
# location of the test database for api service scenarios (defaults to ./.redwood/test.db if not set)
# TEST_DATABASE_URL=file:./.redwood/test.db
# disables Prisma CLI update notifier
PRISMA_HIDE_UPDATE_MESSAGE=true
# Option to override the current environment's default api-side log level
# See: https://redwoodjs.com/docs/logger for level options, defaults to "trace" otherwise.
# Most applications want "debug" or "info" during dev, "trace" when you have issues and "warn" in production.
# Ordered by how verbose they are: trace | debug | info | warn | error | silent
# LOG_LEVEL=debug
REDWOOD_ENV_FILESTACK_API_KEY=
REDWOOD_ENV_FILESTACK_SECRET=
SESSION_SECRET=
ADMIN_EMAILS=
DATABASE_URL=
PROD_DOMAIN=https://example.com/
DEV_DOMAIN=http://localhost:8910/
SEND_IN_BLUE_KEY=
SEND_IN_BLUE_EMAIL=
SEND_IN_BLUE_KEY=

View File

@ -1,12 +1,9 @@
# DATABASE_URL=file:./dev.db
# TEST_DATABASE_URL=file:./.redwood/test.db
# PRISMA_HIDE_UPDATE_MESSAGE=true
# LOG_LEVEL=trace
REDWOOD_ENV_FILESTACK_API_KEY=
REDWOOD_ENV_FILESTACK_SECRET=
SESSION_SECRET=
ADMIN_EMAILS=foo@bar.com,fizz@buzz.com,john@example.com
DATABASE_URL=postgresql://user:password@localhost:5432/arduino_parts_inventory
PROD_DOMAIN=https://example.com/
DEV_DOMAIN=http://localhost:8910/
SEND_IN_BLUE_KEY=
SEND_IN_BLUE_EMAIL=
SEND_IN_BLUE_KEY=

View File

@ -63,16 +63,16 @@ const TransactionListItem = ({
const { currentUser } = useAuth()
return (
<div className="collapse-arrow collapse max-w-5xl bg-base-200 font-inter">
<div className="collapse collapse-arrow max-w-5xl bg-base-200 font-inter">
<input type="checkbox" />
<div className="collapse-title text-xl font-medium">
<div className="items-center justify-between space-x-3 space-y-3 sm:flex sm:space-y-0">
<p className="overflow-hidden text-ellipsis whitespace-nowrap">
{transaction.parts.length} items
</p>
<div className="flex w-fit space-x-3">
<div className="w-fit flex-col space-x-3">
{admin ? (
<div className="badge whitespace-nowrap bg-base-300 sm:badge-lg">{`${
<div className="badge badge-primary whitespace-nowrap sm:badge-lg">{`${
(transaction as Transaction).user?.firstName
} ${(transaction as Transaction).user?.lastName}`}</div>
) : (