nestiq-component-library 1.1.84 → 1.1.86

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -210,6 +210,9 @@
210
210
  flex-grow: 0;
211
211
  object-fit: contain;
212
212
  }
213
+ .card{
214
+ max-width: 1280px;
215
+ }
213
216
 
214
217
  .Price {
215
218
  font-size: 26px;
@@ -47,6 +47,7 @@ interface PopupProps {
47
47
  // onMessagePopupSubmitClick: (formValues: MessageModel) => void;
48
48
  messageOnClick: () => void;
49
49
  onclickSuccess: () => void;
50
+ onClick: () => void;
50
51
  }
51
52
  export default function PropertyCard(props: PopupProps) {
52
53
  const [liked, setLiked] = useState(false);
@@ -107,8 +108,8 @@ export default function PropertyCard(props: PopupProps) {
107
108
  };
108
109
 
109
110
  return (
110
- <div className="d-flex flex-row ">
111
- <div className="d-flex flex-column col-md-6 col-lg-12">
111
+ <div className="d-flex flex-row card">
112
+ <div className="d-flex flex-column col-md-6 col-lg-12" onClick={props.onClick}>
112
113
  <div
113
114
  key={props.property.id}
114
115
  className="card-bod position-relative cardStyles h-100 w-100"