Browse Source

bugfix bg-color

Carsten Porth 6 years ago
parent
commit
3f1ca69c9c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/src/components/profile-header/profile-header.html

+ 1 - 1
app/src/components/profile-header/profile-header.html

@@ -1,6 +1,6 @@
 <!-- Generated template for the ProfileHeaderComponent component -->
 <div>
-  <div class="profile-banner" [style.background-image]="'url('+ banner +')'">
+  <div class="profile-banner" [style.background-image]="'url('+ banner +')'" [style.background-color]="'#' + user.profile_background_color">
     <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" x="0px" y="0px"
       viewBox="0 0 300 100" xml:space="preserve" width="100%" class="svg-triangle">
       <polygon points="0,75  0,100 300,100 300,99" fill="#FFFFFF" />