Skip to content

Commit

Permalink
Remove cardHover, bottom header sticky
Browse files Browse the repository at this point in the history
  • Loading branch information
akariv committed Feb 21, 2024
1 parent cf64279 commit 37b48c0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,13 @@
background-color: @color-gray-7;
border-top: 1px solid @color-gray-5;

// &.inverse {
// background-color: @color-gray-3;
// ::ng-deep * {
// color: @color-white !important;
// }
// }
&.mini {
border-top: 1px solid @color-gray-4;
}

position: sticky;
bottom: 0;
z-index: 101;
}
.scrollable {
width: 100%;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,10 @@
<!-- <pre>{{collapsible}} {{showCount}} {{result.collapse_hits?.slice(0, showCount)?.length}}</pre> -->
<div class='bookends' *ngIf='collapsible'>
@for (extra of result.collapse_hits?.slice(1, showCount) || []; track extra.card_id; let i = $index) {
<a (mouseover)='hover.next(extra); cardHover = i===0;'
<a (mouseover)='hover.next(extra)'
[attr.aria-label]='ariaLabel(extra)'
(activated)='selectedItem(result, extra)'
[class.national]='extra.national_service'
[class.hover]='i===0 && cardHover'
class='bookend' [style.zIndex]='1000 - i' clickOnReturn>
<span class='org' [innerHTML]='orgName(extra)'></span>
<span class='separator'>&nbsp;/&nbsp;</span>
Expand Down

0 comments on commit 37b48c0

Please sign in to comment.