Skip to content

Commit

Permalink
quotes mobile css fix [fixes #216]
Browse files Browse the repository at this point in the history
  • Loading branch information
sarthak-kumar-shailendra committed Oct 8, 2023
1 parent d4c24b0 commit c713b10
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/app/bhagavad-gita-quotes/[[...locale]]/QuotesPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ export default function QuotesPage(props: LocaleAndTranslations) {
const [quoteIndex, setQuoteIndex] = useState(0);

return (
<div className="mb-16">
<div className="">
<QuotesBanner translate={translate} />
<div className="relative z-10 m-auto h-96 p-0 md:w-[90%] lg:w-[73%] xl:w-[66%]">
<div className="relative z-10 m-auto flex min-h-screen items-center p-0 md:w-[90%] lg:w-[73%] xl:w-[66%]">
<QuotesNavigator
quoteCount={quotes.length}
quoteIndex={quoteIndex}
Expand Down
6 changes: 3 additions & 3 deletions src/components/Quotes/Quote.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ export default function Quote({ quoteNumber, quote, translate }: Props) {
const styles = useMyStyles();
return (
<>
<div className="absolute inset-x-0 top-[5%] mx-auto max-w-5xl text-center font-inter">
<SvgChapterBackground className="relative inset-x-0 bottom-0 m-auto w-full rounded-full text-gray-300 text-opacity-25 dark:text-black dark:text-opacity-25 lg:top-12 lg:w-min" />
<div className="absolute inset-x-0 mx-auto text-center font-inter">
<SvgChapterBackground className="relative inset-x-0 bottom-0 m-auto h-full w-full rounded-full text-gray-300 text-opacity-25 dark:text-black dark:text-opacity-25 md:min-w-fit lg:w-min" />
</div>

<div className="xs:py-24 relative mx-auto max-w-5xl px-4 text-center font-inter sm:px-6 sm:py-28">
<h2
className={classNames(
"font-medium uppercase text-my-orange",
"font-medium uppercase text-my-orange mt-2",
styles.fontSize.subHeading2,
)}
>
Expand Down

0 comments on commit c713b10

Please sign in to comment.