-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2780 from beckn/issue-open-spark
feat(OPEN-SPARK): fixed prefix value of buying preference input and l…
- Loading branch information
Showing
2 changed files
with
34 additions
and
15 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,18 @@ | ||
import { Box } from '@chakra-ui/react' | ||
import PreferenceComponent from '../components/energyPurchaseForm' | ||
|
||
const BuyingPreference = () => { | ||
return <PreferenceComponent preferenceType={'buy'} /> | ||
return ( | ||
<Box | ||
margin={'0 auto'} | ||
maxW={['100%', '100%', '40rem', '40rem']} | ||
className="hideScroll" | ||
maxH={'calc(100vh - 80px)'} | ||
overflowY="scroll" | ||
> | ||
<PreferenceComponent preferenceType={'buy'} /> | ||
</Box> | ||
) | ||
} | ||
|
||
export default BuyingPreference |