Skip to content

Commit

Permalink
fix: resolve hidden body content issue on safari browser
Browse files Browse the repository at this point in the history
  • Loading branch information
moolmin committed Nov 27, 2024
1 parent 1d94c8c commit c0658e6
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ const nextConfig = withAntdLess({
pathname: '/**',
}
],
domains: ['cdn.qqqq.world'],
},
transpilePackages: ['antd', '@ant-design', 'rc-util', 'rc-pagination', 'rc-picker', 'rc-notification', 'rc-tooltip'],
webpack: (config) => {
Expand Down
1 change: 1 addition & 0 deletions src/app/(pages)/4q-gallery/_components/item-card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ export default function ItemCard({ item }: ItemCardProps) {
src={item.url}
alt="photo QR"
onClick={showDrawer}
unoptimized
/>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/app/(pages)/4q-gallery/_components/item-container.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ export default function Container({ category, tag, sort }: ContainerProps) {
{isFetchingNextPage ? (
<BounceDot option={loadingOption} />
) : (
<span> </span>
<span></span>
)}
</div>
)}
Expand Down
1 change: 1 addition & 0 deletions src/app/layout.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@

.bodyContainer {
height: calc(100vh - 60px);
height: calc(-webkit-fill-available - 60px);
width: 100%;
margin-top: 55px;
overflow-y: auto;
Expand Down

0 comments on commit c0658e6

Please sign in to comment.