Browse Source

Merge pull request #4358 from mfilser/card_details_fix_header

Card details, fix header while scrolling
Lauri Ojansivu 3 years ago
parent
commit
9f459a37b8
1 changed files with 3 additions and 0 deletions
  1. 3 0
      client/components/cards/cardDetails.styl

+ 3 - 0
client/components/cards/cardDetails.styl

@@ -110,6 +110,9 @@ avatar-radius = 50%
     padding: 7px 20px
     background: darken(white, 7%)
     border-bottom: 1px solid darken(white, 14%)
+    position: sticky
+    top: 0px
+    z-index: 500
 
     .card-number {
       color: darken(white, 30%);