Skip to content

Commit

Permalink
Fixed the scroll issue on ads screen
Browse files Browse the repository at this point in the history
  • Loading branch information
priyanshu-09 committed Jul 15, 2024
1 parent a5abe4c commit 12b6cd6
Show file tree
Hide file tree
Showing 7 changed files with 3,031 additions and 2,998 deletions.
6 changes: 5 additions & 1 deletion package-dist/chatScreen/ChatScreenKeywords.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,11 @@ export interface ChatScreenKeywordsProps {
keywordsData: Array<DataType>;
pageHeading: string;
handleProceed: (selectedRows: DataType[]) => void;
productCampaign: string;
productCampaign: {
description: string;
country: string;
language: string;
};
}
export declare function ChatScreenKeywords({ pageHeading, keywordsData, handleStartFresh, handleProceed, productCampaign, }: ChatScreenKeywordsProps): import("react/jsx-runtime").JSX.Element;
export {};
6 changes: 5 additions & 1 deletion package-dist/common/AdsTextInput.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,14 @@ import { LegacyRef } from 'react';
import * as React from "react";
export interface AdsTextInputProps {
inputRef?: LegacyRef<InputRef> | null;
placeholder?: string;
userQuery: string;
setUserQuery: React.Dispatch<React.SetStateAction<string>>;
handleSendMessage: () => void;
isFollowupDisabled?: boolean;
placeholders?: {
inputPlaceholder: string;
country: string;
language: string;
};
}
export declare const AdsTextInput: React.FC<AdsTextInputProps>;
5,766 changes: 2,893 additions & 2,873 deletions package-dist/ui-gallery.es.js

Large diffs are not rendered by default.

220 changes: 110 additions & 110 deletions package-dist/ui-gallery.umd.js

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions package-dist/welcomeScreen/WelcomeScreenAds.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,10 @@ export interface WelcomeScreenAdsProps {
handleSendMessage: (userQuery: string) => void;
heading: string;
subHeading: string;
placeholders: {
inputPlaceholder: string;
country: string;
language: string;
};
}
export declare const WelcomeScreenAds: React.FC<WelcomeScreenAdsProps>;
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ui-gallery",
"version": "0.1.5",
"version": "0.1.6",
"type": "module",
"files": [
"package-dist"
Expand Down
24 changes: 12 additions & 12 deletions src/components/chatScreen/ChatScreenAdsPreview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -95,27 +95,27 @@ export function ChatScreenAdsPreview({
vertical
align="center"
>
<Typography.Title
level={3}
style={{
width: "30vw",
textAlign: "center",
fontFamily: "Sedan",
}}
>
{pageHeading}
</Typography.Title>
<Flex
style={{
width: "75vw",

overflow: "auto",
padding: "1vh 16px 5vh",
overflowY: "auto",
}}
vertical
align="center"
justify="flex-start"
gap={24}
>
<Typography.Title
level={3}
style={{
width: "30vw",
textAlign: "center",
fontFamily: "Sedan",
}}
>
{pageHeading}
</Typography.Title>
<Card
size="small"
style={{
Expand Down

0 comments on commit 12b6cd6

Please sign in to comment.