-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
about page wrap text float, add breakpoints utils component
- Loading branch information
Showing
6 changed files
with
35 additions
and
5 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
--- | ||
import { CONFIG_SERVER } from '@/config/server'; | ||
const isProd = CONFIG_SERVER.NODE_ENV === 'production'; | ||
// component just for debuggng responsive styles | ||
--- | ||
|
||
{ | ||
!isProd && ( | ||
<div class="fixed top-24 right-4 z-50 flex size-8 p-3 items-center justify-center rounded-full text-base-100 bg-content text-sm font-mono"> | ||
<div class="block xs:hidden">2xs</div> | ||
<div class="hidden xs:block sm:hidden">xs</div> | ||
<div class="hidden sm:block md:hidden">sm</div> | ||
<div class="hidden md:block lg:hidden">md</div> | ||
<div class="hidden lg:block xl:hidden">lg</div> | ||
<div class="hidden xl:block 2xl:hidden">xl</div> | ||
<div class="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
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