[bisq] sticky header

This commit is contained in:
nymkappa 2023-09-15 16:05:10 +02:00
parent 81d1a809d2
commit 14a41b3108
No known key found for this signature in database
GPG key ID: E155910B16E8BD04
2 changed files with 9 additions and 1 deletions

View file

@ -1,4 +1,4 @@
<header>
<header class="sticky-header">
<nav class="navbar navbar-expand-md navbar-dark bg-dark">
<a class="navbar-brand" [routerLink]="['/' | relativeUrl]" style="position: relative;">
<ng-container *ngIf="{ val: connectionState$ | async } as connectionState">

View file

@ -1,3 +1,11 @@
.sticky-header {
position: sticky;
position: -webkit-sticky;
top: 0;
width: 100%;
z-index: 100;
}
li.nav-item.active {
background-color: #653b9c;
}