Browse Source

please accept my css changes guys ;(

pull/11/head
Bryce Murphy 5 years ago
parent
commit
6a0158efdb
2 changed files with 6 additions and 6 deletions
  1. +4
    -4
      public/js/profileGen.js
  2. +2
    -2
      public/style.css

+ 4
- 4
public/js/profileGen.js View File

@ -11,11 +11,11 @@ function profileGen(username, container)
let html = let html =
"<div class=\"card\" style=\"w-100\"> \ "<div class=\"card\" style=\"w-100\"> \
<img class=\"card-img-top\" src=\""+user.avatar_url+"\"></img> \ <img class=\"card-img-top\" src=\""+user.avatar_url+"\"></img> \
<div class=\"row\"> \
<div class=\"row mx-0\"> \
<div class=\"col-8\"> \ <div class=\"col-8\"> \
<div class=\"card-body\"> \
<h5 class=\"card-title\">"+user.name+"</h1> \
<h6 class=\"card-subtitle\">"+user.login+"</h2> \
<div class=\"card-body\">"+
(user.name != null ? "<h5 class=\"card-title\">"+user.name+"</h5>" : "") +" \
<h6 class=\"card-subtitle\">"+user.login+"</h5> \
</div> \ </div> \
</div> \ </div> \
<div class=\"col-4\"> \ <div class=\"col-4\"> \

+ 2
- 2
public/style.css View File

@ -137,11 +137,11 @@
} }
.card { .card {
background-color: rgb(208, 208, 208);
background-color: rgb(255, 255, 255);
} }
.card-body { .card-body {
background-color: rgb(242, 242, 242);
background-color: rgb(255, 255, 255);
} }
.rounder { .rounder {

Loading…
Cancel
Save