aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikita Tchayka <nikitatchayka@gmail.com>2023-09-15 21:10:47 +0100
committerNikita Tchayka <nikitatchayka@gmail.com>2023-09-15 21:10:47 +0100
commit84aeabbd7d8ed9535659281026d4a3fa6b90efba (patch)
treec0350218f31c4fc7915a5c31a026672b7b87b248
parent0a2b481b156b616b0d82bd32e73308d17a3a975d (diff)
downloadneohaskell.github.io-84aeabbd7d8ed9535659281026d4a3fa6b90efba.tar.gz
neohaskell.github.io-84aeabbd7d8ed9535659281026d4a3fa6b90efba.tar.bz2
neohaskell.github.io-84aeabbd7d8ed9535659281026d4a3fa6b90efba.zip
Attempt fixing overflow
-rw-r--r--src/components/HomepageFeatures/index.tsx2
-rw-r--r--src/pages/index.tsx2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/components/HomepageFeatures/index.tsx b/src/components/HomepageFeatures/index.tsx
index 753e895..f273580 100644
--- a/src/components/HomepageFeatures/index.tsx
+++ b/src/components/HomepageFeatures/index.tsx
@@ -88,7 +88,7 @@ function Feature({ n, title, showcase, description, buttonText }: FeatureItem) {
// <CodeFrame language={showcase.language}>{showcase.code}</CodeFrame>
<CodeBlock
showLineNumbers
- className="!rounded-none !mb-0"
+ className="!rounded-none !mb-0 !overflow-hidden"
language={showcase.language}
>
{showcase.code}
diff --git a/src/pages/index.tsx b/src/pages/index.tsx
index 5106ee9..5def31f 100644
--- a/src/pages/index.tsx
+++ b/src/pages/index.tsx
@@ -63,7 +63,7 @@ function HomepageHeader() {
<div className="relative text-center mx-auto my-10">
<Link to="/docs/intro">
<Button color="yellow" rounded="full" size="lg">
- <h2 className="mx-4 my-2 text-2xl">Read the Dogma</h2>
+ <h2 className="mx-4 my-2 sm:text-2xl text-xl">Read the Dogma</h2>
</Button>
</Link>
</div>