这是indexloc提供的服务,不要输入任何密码
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/site/app/(no-sidebar)/graphics/effortless.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export const EffortlessGraphic = () => {
setMounted(true);
}, []);

if (!mounted) return null;
if (!mounted) return <div className={sizingString}></div>;

if (resolvedTheme === "dark") {
return <EffortlessDark />;
Expand Down
2 changes: 1 addition & 1 deletion docs/site/app/(no-sidebar)/graphics/providers.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export const CiProviders = () => {
setMounted(true);
}, []);

if (!mounted) return null;
if (!mounted) return <div className={sizingString}></div>;

if (resolvedTheme === "dark") {
return <ProvidersDark />;
Expand Down
4 changes: 2 additions & 2 deletions docs/site/app/(no-sidebar)/graphics/remote-caching.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export const RemoteCachingGraphic = () => {
setMounted(true);
}, []);

if (!mounted) return null;
if (!mounted) return <div className={sizingString}></div>;

if (resolvedTheme === "dark") {
return <RemoteCachingDark />;
Expand All @@ -25,7 +25,7 @@ const RemoteCachingDark = () => {
return (
<div className={sizingString}>
<svg
className="w-full h-auto"
className={sizingString}
viewBox="0 0 307 200"
fill="none"
xmlns="http://www.w3.org/2000/svg"
Expand Down
2 changes: 1 addition & 1 deletion docs/site/app/(no-sidebar)/graphics/sizing-string.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
export const sizingString =
"mx-auto w-[246px] xs:w-[326px] sm:w-[542px] md:w-[194px] lg:w-[255px] xl:w-[298px] xs:w-full";
"mx-auto h-[160px] xs:w-[326px] sm:w-[542px] md:w-[194px] lg:w-[255px] xl:w-[298px] xs:w-full";
Loading