Skip to content

Commit 0386fdf

Browse files
committed
add latest visits and search on top of z-index
1 parent c9d9865 commit 0386fdf

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

frontend/src/app/app.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
</a>
5555
<div *ngIf="(latestVisitedBookmarks$ | async) as latestVisitedBookmarks" class="mt-1" (mouseout)="resetHoveringLastVisited()">
5656
<ng-container *ngFor="let bookmark of latestVisitedBookmarks; let i = index" class="mt-1">
57-
<span class="mt-1 mr-2">
57+
<span class="mt-1 mr-2 on-top">
5858
<a
5959
(mouseover)="hoveringLastVisited[i]=true"
6060
(mouseout)="hoveringLastVisited[i]=false"
@@ -79,7 +79,7 @@
7979
<span class="list-group-item list-group-item-action bg-light"><i class="fa fa-search mr-1"></i> Latest searches:</span>
8080
<div class="mt-1" (mouseout)="resetHoveringLastSearches()">
8181
<ng-container *ngFor="let mySearch of latestSearches; let i = index" class="mt-1">
82-
<span class="mt-1 mr-2">
82+
<span class="mt-1 mr-2 on-top">
8383
<a
8484
(mouseover)="hoveringLastSearches[i]=true"
8585
(mouseout)="hoveringLastSearches[i]=false"

frontend/src/app/app.component.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,3 +95,8 @@ footer {
9595
background: linen;
9696
color: #495057;
9797
}
98+
99+
.on-top {
100+
position:relative;
101+
z-index: 1000;
102+
}

0 commit comments

Comments
 (0)