aboutsummaryrefslogtreecommitdiff
path: root/src/components
diff options
context:
space:
mode:
authorNikita Tchayka <nikitatchayka@gmail.com>2023-09-16 13:02:14 +0100
committerNikita Tchayka <nikitatchayka@gmail.com>2023-09-16 13:02:14 +0100
commitb6eb5efdc58f67741aa629bfd3663f2245a9c6c3 (patch)
tree42381219b4bd9ffaf5d641b61ce01473c6c652c6 /src/components
parente94ae6c8bfdc036590273a36bbfc3dadd587bf4b (diff)
downloadneohaskell.github.io-b6eb5efdc58f67741aa629bfd3663f2245a9c6c3.tar.gz
neohaskell.github.io-b6eb5efdc58f67741aa629bfd3663f2245a9c6c3.tar.bz2
neohaskell.github.io-b6eb5efdc58f67741aa629bfd3663f2245a9c6c3.zip
Fix code overflow
Diffstat (limited to 'src/components')
-rw-r--r--src/components/HomepageFeatures/index.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/HomepageFeatures/index.tsx b/src/components/HomepageFeatures/index.tsx
index 3e2a701..c810bac 100644
--- a/src/components/HomepageFeatures/index.tsx
+++ b/src/components/HomepageFeatures/index.tsx
@@ -17,7 +17,7 @@ function Feature({ n, title, showcase, description, buttonText }: FeatureItem) {
// <CodeFrame language={showcase.language}>{showcase.code}</CodeFrame>
<CodeBlock
showLineNumbers
- className="!rounded-none !mb-0 !overflow-hidden"
+ className="!rounded-none !mb-0"
language={showcase.language}
>
{showcase.code}
@@ -30,7 +30,7 @@ function Feature({ n, title, showcase, description, buttonText }: FeatureItem) {
<div
className={`bg-violet-200 shadow-neocyan border-4 border-black xl:p-16 sm:p-8 p-0 flex sm:flex-col xl:flex-nowrap flex-wrap md:mx-32 sm:gap-16 gap-8 ${reverse}`}
>
- <div className="self-center bg-codeBg flex-grow ">
+ <div className="self-center bg-codeBg flex-grow !overflow-hidden">
{showcaseComponent}
</div>
<div className="flex flex-col gap-4 sm:p-0 p-8">