diff --git a/frontend/src/app/features/components/listings-table/listing-details/listing-details.component.html b/frontend/src/app/features/components/listings-table/listing-details/listing-details.component.html index dca61291..9802d2e6 100644 --- a/frontend/src/app/features/components/listings-table/listing-details/listing-details.component.html +++ b/frontend/src/app/features/components/listings-table/listing-details/listing-details.component.html @@ -284,20 +284,21 @@

Detailed Listing Information for

" class="spacer-hr">
- Business Licence Number: {{blInfo.businessLicenceNo ||'-'}} + Business Licence Number: + {{blInfo.businessLicenceNo ||'-'}}
- Licence Type: {{blInfo.licenceTypeTxt ||'-'}} + Licence Type: {{blInfo.licenceTypeTxt ||'-'}}
- Expiry Date: {{blInfo.expiryDt |date:'YYYY-MM-dd'}} + Expiry Date: {{blInfo.expiryDt |date:'YYYY-MM-dd'}}
- Status: Status: {{blInfo.licenceStatus.licenceStatusTypeNm}}
- Restriction Note: {{blInfo.restrictionTxt || 'N/A'}} + Restriction Note: {{blInfo.restrictionTxt || 'N/A'}}
- Owner / Licencee Name: {{blInfo.businessOwnerNm ||'-'}} + Owner / Licencee Name: {{blInfo.businessOwnerNm ||'-'}}
Mailing Address: - {{blInfo.mailingStreetAddressTxt}} {{blInfo.mailingCityNm}} {{blInfo.mailingProvinceCd}} + {{blInfo.mailingStreetAddressTxt}} {{blInfo.mailingCityNm}} + {{blInfo.mailingProvinceCd}} {{blInfo.mailingPostalCd}}
- Email: {{blInfo.businessOwnerEmailAddressDsc ||'-'}} + Email: {{blInfo.businessOwnerEmailAddressDsc ||'-'}}
- Phone: {{blInfo.businessOwnerPhoneNo ||'-'}} + Phone: {{blInfo.businessOwnerPhoneNo ||'-'}}
- Operator Name: {{blInfo.businessOperatorNm ||'-'}} + Operator Name: {{blInfo.businessOperatorNm ||'-'}}
- Email: {{blInfo.businessOperatorEmailAddressDsc ||'-'}} + Email: {{blInfo.businessOperatorEmailAddressDsc ||'-'}}
- Phone: {{blInfo.businessOperatorPhoneNo ||'-'}} + Phone: {{blInfo.businessOperatorPhoneNo ||'-'}}
- Property Zoning: {{blInfo.propertyZoneTxt ||'-'}} + Property Zoning: {{blInfo.propertyZoneTxt ||'-'}}
- Bedrooms Available: {{blInfo.availableBedroomsQty ||'-'}} + Bedrooms Available: {{blInfo.availableBedroomsQty + ||'-'}}
- Guest Capacity / Maximum Occupancy: {{blInfo.maxGuestsAllowedQty + Guest Capacity / Maximum Occupancy: {{blInfo.maxGuestsAllowedQty ||'-'}}
- Principal Residence: {{blInfo.isPrincipalResidence?'Yes':'No'}} + Principal Residence: {{blInfo.isPrincipalResidence?'Yes':'No'}}
- Onsite Owner: {{blInfo.isOwnerLivingOnsite?'Yes':'No'}} + Onsite Owner: {{blInfo.isOwnerLivingOnsite?'Yes':'No'}}
- Building Rented: {{blInfo.isOwnerPropertyTenant?'Yes':'No'}} + Building Rented: {{blInfo.isOwnerPropertyTenant?'Yes':'No'}}
- Infraction: {{blInfo.infractionTxt ||'-'}} + Infraction: {{blInfo.infractionTxt ||'-'}}
- Infraction Date: {{blInfo.infractionDt|date:'YYYY-MM-dd'}} + Infraction Date: {{blInfo.infractionDt|date:'YYYY-MM-dd'}}
- Folio Number: {{blInfo.propertyFolioNo ||'-'}} + Folio Number: {{blInfo.propertyFolioNo ||'-'}}
- Parcel Identifier (PID): {{blInfo.propertyParcelIdentifierNo ||'-'}} + Parcel Identifier (PID): {{blInfo.propertyParcelIdentifierNo + ||'-'}}
- Legal Description: {{blInfo.propertyLegalDescriptionTxt ||'-'}} + Legal Description: {{blInfo.propertyLegalDescriptionTxt + ||'-'}}
diff --git a/frontend/src/app/features/components/listings-table/listing-details/listing-details.component.scss b/frontend/src/app/features/components/listings-table/listing-details/listing-details.component.scss index bfe0b4d9..5db46560 100644 --- a/frontend/src/app/features/components/listings-table/listing-details/listing-details.component.scss +++ b/frontend/src/app/features/components/listings-table/listing-details/listing-details.component.scss @@ -185,6 +185,12 @@ } .row { + display: flex; + + p-table { + width: 100%; + } + &.header-row { font-size: large; font-family: 'BcSans-bold'; @@ -214,12 +220,17 @@ } } - .label { + .label, + strong { + white-space: nowrap; font-family: 'BcSans-bold'; } .value { padding-left: 8px; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; &.warning { color: #CE3E39; diff --git a/frontend/src/app/features/components/listings-table/listings-table.component.html b/frontend/src/app/features/components/listings-table/listings-table.component.html index 942cd827..6b5cb68b 100644 --- a/frontend/src/app/features/components/listings-table/listings-table.component.html +++ b/frontend/src/app/features/components/listings-table/listings-table.component.html @@ -194,11 +194,25 @@

Listings

- {{ row.nightsBookedYtdQty }} - {{ row.businessLicenceNo }} - {{ row.businessLicenceNoMatched }} - {{ row.lastActionNm }} - {{ row.lastActionDtm |date }} + + {{ row.nightsBookedYtdQty }} + + + + {{ row.businessLicenceNo }} + + + + + {{ row.businessLicenceNoMatched }} + + + + {{ row.lastActionNm }} + + + {{ row.lastActionDtm |date }} + diff --git a/frontend/src/app/features/components/listings-table/listings-table.component.scss b/frontend/src/app/features/components/listings-table/listings-table.component.scss index 7d9ef97f..a7678d32 100644 --- a/frontend/src/app/features/components/listings-table/listings-table.component.scss +++ b/frontend/src/app/features/components/listings-table/listings-table.component.scss @@ -159,6 +159,16 @@ td { font-size: 12px; + word-break: break-all; + + span { + display: block; + white-space: nowrap; + overflow: hidden; + max-width: 180px; + max-height: 60px; + text-overflow: ellipsis; + } .listing-id-link { color: #053662;