Skip to content

Commit

Permalink
mobile viewport
Browse files Browse the repository at this point in the history
  • Loading branch information
steskelt committed Mar 19, 2024
1 parent 962b7b8 commit 3fbdd58
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion _pages/rankings.html
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ <h1 class="display-6 fw-bold text-center">Influencer Rankings</h1>
if (screen.availWidth < 800) {
const height = 50;
return html`
<li class="list-group-item" style="padding:6px">
<li class="list-group-item" style="padding:6px;background-color:antiquewhite;">
<div style="display:flex;align-items: center;">
<img src="${item.profileUrl}" style="width:${height}px;height:${height}px;border-radius:50%;margin-right:10px;">
<div>
Expand Down
7 changes: 7 additions & 0 deletions assets/css/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -73,4 +73,11 @@ article.facts section {
padding: 24px 16px 12px 16px;
margin-bottom: 10px;
background-color: lightgrey;
}

.list-group-item {
background-color: antiquewhite;
}
.btn-outline-secondary {
background-color: white;
}

0 comments on commit 3fbdd58

Please sign in to comment.