diff options
author | Nikita Tchayka <nikitatchayka@gmail.com> | 2023-09-16 13:02:14 +0100 |
---|---|---|
committer | Nikita Tchayka <nikitatchayka@gmail.com> | 2023-09-16 13:02:14 +0100 |
commit | b6eb5efdc58f67741aa629bfd3663f2245a9c6c3 (patch) | |
tree | 42381219b4bd9ffaf5d641b61ce01473c6c652c6 | |
parent | e94ae6c8bfdc036590273a36bbfc3dadd587bf4b (diff) | |
download | neohaskell.github.io-b6eb5efdc58f67741aa629bfd3663f2245a9c6c3.tar.gz neohaskell.github.io-b6eb5efdc58f67741aa629bfd3663f2245a9c6c3.tar.bz2 neohaskell.github.io-b6eb5efdc58f67741aa629bfd3663f2245a9c6c3.zip |
Fix code overflow
-rw-r--r-- | src/components/HomepageFeatures/index.tsx | 4 |
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"> |