Skip to content

Commit

Permalink
fix remove customTitle if using customFeatureDetails
Browse files Browse the repository at this point in the history
  • Loading branch information
mneige committed Nov 8, 2023
1 parent 5aa9d58 commit 1419c50
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
(keydown)= "handleKeyboardEvent($event)">
<span class= "title">

<h4 color="primary" (click)= "onTitleClick()" style="cursor:pointer;">{{title}}</h4>
<h4 *ngIf="!customFeatureDetails" color="primary" (click)= "onTitleClick()" style="cursor:pointer;">{{title}}</h4>

<button
class="clear-button"
Expand All @@ -18,7 +18,6 @@ <h4 color="primary" (click)= "onTitleClick()" style="cursor:pointer;">{{title}}<

</span>


<app-feature-details
*ngIf= "resultSelected$.value && !customFeatureDetails"
[mobile]= "mobile"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,13 @@ app-feature-details {
width: 100%;
overflow-x: clip;
margin-right: 8px;
}

app-feature-details-custom {
float: left;
width: 100%;
overflow-x: clip;
margin-right: 8px;
width: calc(100% - 30px);
margin-top: -28px;
}

0 comments on commit 1419c50

Please sign in to comment.