diff --git a/components/layout/Layout.tsx b/components/layout/Layout.tsx index 14c6d7e4..cc4ee8b0 100644 --- a/components/layout/Layout.tsx +++ b/components/layout/Layout.tsx @@ -29,7 +29,6 @@ const Layout = ({ })} alignItems="center" flexDirection="column" - backgroundColor="gray.50" > {isHomepage && ( () - const { isMobile } = useAppContext() useEffect(() => { const hostname = window.location.hostname @@ -69,17 +67,22 @@ function Listing({ listing }) { Back to main list {listing.image && ( - {`Image + + {`Image + )} #{tag.label} diff --git a/components/main-list/description-rich-text/DescriptionRichText.module.scss b/components/main-list/description-rich-text/DescriptionRichText.module.scss index d522842a..867f0bbb 100644 --- a/components/main-list/description-rich-text/DescriptionRichText.module.scss +++ b/components/main-list/description-rich-text/DescriptionRichText.module.scss @@ -21,7 +21,8 @@ ol, ul { font-size: 1.0625rem; - color: rgb(0 0 0 / 80%); + color: rgb(0 0 0 / 70%); + line-height: 1.6; } p { diff --git a/pages/api/listing/[slug].ts b/pages/api/listing/[slug].ts index 7d30ca6c..acb2e646 100644 --- a/pages/api/listing/[slug].ts +++ b/pages/api/listing/[slug].ts @@ -41,6 +41,7 @@ const handler = async (req: NextApiRequest, res: NextApiResponse) => { }, tags: { select: { + id: true, label: true, }, }, diff --git a/styles/styles.global.scss b/styles/styles.global.scss index 53a7fa4e..f422cfbb 100644 --- a/styles/styles.global.scss +++ b/styles/styles.global.scss @@ -1,22 +1,45 @@ html, body { - padding: 0; - margin: 0; - background: #F7FAFC !important; + background: #fcfcfc; } -a { - color: inherit; - text-decoration: none; - - &:hover { - text-decoration: none !important; - } +body { + line-height: 1.5; + -webkit-font-smoothing: antialiased; } +*, *::before, *::after { + box-sizing: border-box; +} * { - box-sizing: border-box; + margin: 0; font-family: Poppins, sans-serif; - font-display: swap; + font-display: swap; +} + +img, picture, video, canvas, svg { + display: block; + max-width: 100%; +} + +input, button, textarea, select { + font: inherit; +} + +p, h1, h2, h3, h4, h5, h6 { + overflow-wrap: break-word; +} + +#root, #__next { + isolation: isolate; +} + +a { + color: inherit; + text-decoration: none; + + &:hover { + text-decoration: none !important; + } }