mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-05 06:28:51 +00:00
fix(phone/marketplace): fix word wrap
This commit is contained in:
1 parent
a88286f97a
commit
f27e486ff5
2 files changed
+12
-3
No files matched your search
@@ -8,6 +8,7 @@ import { Switch, Route } from 'react-router-dom';
|
|||||||
import { ListingFormContainer } from './form/ListingFormContainer';
|
import { ListingFormContainer } from './form/ListingFormContainer';
|
||||||
import InjectDebugData from '../../../os/debug/InjectDebugData';
|
import InjectDebugData from '../../../os/debug/InjectDebugData';
|
||||||
import { MarketplaceThemeProvider } from '../providers/MarketplaceThemeProvider';
|
import { MarketplaceThemeProvider } from '../providers/MarketplaceThemeProvider';
|
||||||
|
import { MarketplaceEvents } from '../../../../../typings/marketplace';
|
||||||
|
|
||||||
export const MarketplaceApp = () => {
|
export const MarketplaceApp = () => {
|
||||||
return (
|
return (
|
||||||
@@ -29,7 +30,7 @@ export const MarketplaceApp = () => {
|
|||||||
InjectDebugData([
|
InjectDebugData([
|
||||||
{
|
{
|
||||||
app: 'SELLOUT',
|
app: 'SELLOUT',
|
||||||
method: 'setListings',
|
method: MarketplaceEvents.SEND_LISTING,
|
||||||
data: [
|
data: [
|
||||||
{
|
{
|
||||||
id: 1,
|
id: 1,
|
||||||
@@ -37,7 +38,7 @@ InjectDebugData([
|
|||||||
number: '111-1134',
|
number: '111-1134',
|
||||||
title: 'eeeeeeeeeeeeeeeeeeeeeeeee',
|
title: 'eeeeeeeeeeeeeeeeeeeeeeeee',
|
||||||
description:
|
description:
|
||||||
'skldfsd sajsfjklsdfj sdajsklfjdsjklas jskj sdjsd jasdkl sdjsf jasdklsfjfj kljasdkf jkaf jsdkla jsk jdkla j kljasdkf jkld jasd kljk',
|
'skldfsdEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE',
|
||||||
url: 'https://beta.iodine.gg/706Y3.jpeg',
|
url: 'https://beta.iodine.gg/706Y3.jpeg',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -31,6 +31,14 @@ const useStyles = makeStyles((theme) => ({
|
|||||||
background: theme.palette.background.default,
|
background: theme.palette.background.default,
|
||||||
marginBottom: 20,
|
marginBottom: 20,
|
||||||
},
|
},
|
||||||
|
listingContent: {
|
||||||
|
padding: 10,
|
||||||
|
minWidth: 100,
|
||||||
|
maxWidth: '100%',
|
||||||
|
width: '100%',
|
||||||
|
overflowWrap: 'break-word',
|
||||||
|
wordWrap: 'break-word',
|
||||||
|
},
|
||||||
}));
|
}));
|
||||||
|
|
||||||
export const MarketplaceItem = (listing: MarketplaceListing) => {
|
export const MarketplaceItem = (listing: MarketplaceListing) => {
|
||||||
@@ -62,7 +70,7 @@ export const MarketplaceItem = (listing: MarketplaceListing) => {
|
|||||||
</Typography>
|
</Typography>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
<Typography variant="body1" style={{ padding: 10 }}>
|
<Typography variant="body1" className={classes.listingContent}>
|
||||||
{listing.description}
|
{listing.description}
|
||||||
</Typography>
|
</Typography>
|
||||||
<ListingActions listing={listing} />
|
<ListingActions listing={listing} />
|
||||||
|
|||||||
Reference in new issue
Block a user