-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: tailwind-size indicator + better responsiveness in the sign in …
…home
- Loading branch information
Showing
3 changed files
with
32 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
export const TailwindIndicator = () => { | ||
if (process.env.NODE_ENV === "production") return null; | ||
|
||
return ( | ||
<div className="fixed top-1 left-1 z-50 flex h-6 w-6 items-center justify-center bg-gray-800 p-3 rounded-lg font-mono text-xs text-white"> | ||
<div className="block sm:hidden">xs</div> | ||
<div className="hidden sm:block md:hidden">sm</div> | ||
<div className="hidden md:block lg:hidden">md</div> | ||
<div className="hidden lg:block xl:hidden">lg</div> | ||
<div className="hidden xl:block 2xl:hidden">xl</div> | ||
<div className="hidden 2xl:block">2xl</div> | ||
</div> | ||
); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters