Skip to content

Commit

Permalink
fix ui
Browse files Browse the repository at this point in the history
  • Loading branch information
YongZL committed Sep 18, 2023
1 parent f548e91 commit 46b401c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/routes/car.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ export function Car() {
{isMobile ? (
<>{loading ? <Loading /> : <>{data ? <MobileCar data={data} /> : vin ? <Empty /> : null}</>}</>
) : (
<HeaderLayout className="!px-7">
<HeaderLayout nopx className="!px-7">
{loading ? (
<Loading />
) : (
Expand Down
2 changes: 1 addition & 1 deletion utils/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export const scrollToTop = () => {
document.documentElement.scrollTop = 0;
};

export const handleContentRender = (text: string, width: number) => {
export const handleContentRender = (text: any, width: number) => {
if (text.length > width) {
return text;
} else {
Expand Down

0 comments on commit 46b401c

Please sign in to comment.