Added max-width to ShopItem component
• Added: - max-width to ShopItem component
This commit is contained in:
parent
421111f5f2
commit
09b24f5ae0
@ -16,7 +16,7 @@ class ShopItem extends React.PureComponent {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<a
|
<a
|
||||||
className={[_s.d, _s.w50PC, _s.noUnderline, _s.overflowHidden, _s.cursorPointer, _s.pb15, _s.pr5].join(' ')}
|
className={[_s.d, _s.w50PC, _s.maxW212PX, _s.noUnderline, _s.overflowHidden, _s.cursorPointer, _s.pb15, _s.pr5].join(' ')}
|
||||||
target='_blank'
|
target='_blank'
|
||||||
rel={DEFAULT_REL}
|
rel={DEFAULT_REL}
|
||||||
href={link}
|
href={link}
|
||||||
|
@ -516,6 +516,7 @@ pre {
|
|||||||
.maxW640PX { max-width: 640px; }
|
.maxW640PX { max-width: 640px; }
|
||||||
.maxW100PC86PX { max-width: calc(100% - 86px); }
|
.maxW100PC86PX { max-width: calc(100% - 86px); }
|
||||||
.maxW100PC42PX { max-width: calc(100% - 42px); }
|
.maxW100PC42PX { max-width: calc(100% - 42px); }
|
||||||
|
.maxW212PX { max-width: 212px; }
|
||||||
|
|
||||||
.minW330PX { min-width: 330px; }
|
.minW330PX { min-width: 330px; }
|
||||||
.minW76PX { min-width: 76px; }
|
.minW76PX { min-width: 76px; }
|
||||||
|
Loading…
Reference in New Issue
Block a user