Skip to content

Commit

Permalink
Whitespace nowrap fix for safari
Browse files Browse the repository at this point in the history
  • Loading branch information
b-j-roberts committed Feb 10, 2025
1 parent ce3f682 commit fc47ef4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/web/src/pages/Home.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,13 @@ function Home(props: any) {
<div className="w-full flex flex-col h-max">
<div className="bg__color--tertiary w-full flex flex-col items-center justify-center pt-2 lg:pt-4 pb-8">
<div className="z-10 relative">
<h1 className="text-xl sm:text-2xl md:text-3xl xl:text-4xl font-bold absolute top-1/2 right-[100%] mr-1 md:mr-2 xl:mr-4 text-nowrap transform -translate-y-1/2 z-10 pb-3 sm:pb-4 xl:pb-5">Order on Starknet</h1>
<h1 className="text-xl sm:text-2xl md:text-3xl xl:text-4xl font-bold absolute top-1/2 right-[100%] mr-1 md:mr-2 xl:mr-4 text-nowrap transform -translate-y-1/2 z-10 pb-3 sm:pb-4 xl:pb-5 whitespace-nowrap">Order on Starknet</h1>
<img
src="/images/logo.png"
alt="B.R.O.L.Y. Logo"
className="w-16 h-16 sm:w-20 sm:h-20 xl:w-24 xl:h-24"
/>
<h1 className="text-xl sm:text-2xl md:text-3xl xl:text-4xl font-bold absolute top-1/2 left-[100%] ml-1 md:ml-2 xl:ml-4 text-nowrap transform -translate-y-1/2 z-10 pt-3 sm:pt-4 xl:pt-5">Inscribe on Bitcoin</h1>
<h1 className="text-xl sm:text-2xl md:text-3xl xl:text-4xl font-bold absolute top-1/2 left-[100%] ml-1 md:ml-2 xl:ml-4 text-nowrap transform -translate-y-1/2 z-10 pt-3 sm:pt-4 xl:pt-5 whitespace-nowrap">Inscribe on Bitcoin</h1>
</div>
<InscriptionForm
isInscribing={isInscribing}
Expand Down

0 comments on commit fc47ef4

Please sign in to comment.