Skip to content

Commit

Permalink
early linting
Browse files Browse the repository at this point in the history
  • Loading branch information
rrusher committed Mar 6, 2024
1 parent 9a2bd36 commit a7df658
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 47 deletions.
12 changes: 4 additions & 8 deletions blocks/property-result-listing/property-result-listing.css
Original file line number Diff line number Diff line change
Expand Up @@ -77,13 +77,6 @@
display: none;
}

/* .property-search-template.search-map-active .property-result-listing.block .property-result-map-container {
margin-top: -30px;
flex: 0 0 100%;
max-width: 100%;
padding: 0 15px;
} */

.property-result-listing.block .button-container a {
cursor:pointer;
font-family: var(--font-family-proxima);
Expand Down Expand Up @@ -304,7 +297,7 @@ text-align: center;
@media (min-width: 900px) {
.property-result-listing.block {
flex-direction: row;
}
}

.search-map-active .property-result-listing.block .property-list-cards,
.search-map-active .property-result-listing.block [name="Page"],
Expand All @@ -329,12 +322,15 @@ text-align: center;
.property-result-listing.block .button-container {
justify-content: flex-end;
}

.property-result-listing.block .property-result-map-container .disclaimer {
display: none;
}

.search-map-active .property-result-listing.block .property-result-content .disclaimer {
display: block;
}

.property-result-listing.block [class*="disclaimer"] * {
font-family: var(--font-family-proxima);
font-size: var(--body-font-size-xs);
Expand Down
2 changes: 0 additions & 2 deletions blocks/property-result-listing/property-result-listing.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,6 @@ export default async function decorate(block) {
propertyResultContent.append(buildDisclaimer(disclaimerHtml));
block.append(propertyResultContent);



document.querySelector('.property-result-map-container').append(disclaimerBlock);
/** update page on select change */
block.querySelector('[name="Page"] .select-selected').addEventListener('click', () => {
Expand Down
37 changes: 0 additions & 37 deletions blocks/property-result-map/map.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,6 @@
padding: 3px;
}

/* .property-search-template.search-map-active .property-result-listing.block > div:first-of-type {
position: fixed;
width: 50%;
left: 50%;
top: calc(var(--nav-height) + 50px + 120px);
height: 600px;
max-width: calc(1400px/2 - 30px);
} */

.property-search-template.search-map-active .info-window {
width: 178px;
pointer-events: all;
Expand Down Expand Up @@ -173,7 +163,6 @@
height: 100%;
width: 100%;
display: none;
/* position: absolute; */
}

.property-search-template.search-map-active .property-result-map {
Expand Down Expand Up @@ -377,41 +366,15 @@
.property-search-template.search-map-active .property-result-map-container {
display: block;
}

/* end */

@media (min-width: 600px) {
.property-search-template.search-map-active .custom-controls {
bottom: 16vw;
}

/* .property-search-template.search-map-active .property-result-listing.block > div:first-of-type {
width: 100%;
left: 0;
top: calc(var(--nav-height) + 50px + 120px);
height: 600px;
} */
}

/* .property-result-listing.block .property-result-content .disclaimer {
display: none;
} */

/* @media (max-width: 899px) {
.property-search-template.search-map-active .property-result-listing.block .property-result-map-container .disclaimer {
display: block;
}
} */

@media (min-width: 900px) {
/* .property-search-template.search-map-active .property-result-listing.block > div:first-of-type {
position: fixed;
width: 100%;
top: calc(var(--nav-height) + 50px + 120px);
height: 600px;
} */

.property-search-template.search-map-active .custom-controls {
right: 20px;
bottom: 20px;
Expand Down

0 comments on commit a7df658

Please sign in to comment.