Skip to content

Commit

Permalink
Adding a loading indicator
Browse files Browse the repository at this point in the history
  • Loading branch information
TAS-scorchedshadow committed Aug 22, 2023
1 parent 18f45da commit a4b6e1c
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/profile/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def search():
subtitle = f'<div>{subdisplay}</div>'
html += f"""
<div class="pl-2 pr-2">
<a class="card mt-3 pl-1 pr-1" href="/profile?username={username}">
<a class="card profile-card mt-3 pl-1 pr-1" href="/profile?username={username}">
<div class="card-body text-center" style="width:300px">
<h6>{display}</h6>
{subtitle}
Expand Down
4 changes: 4 additions & 0 deletions app/static/css/template.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion app/static/css/template.css.map

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions app/static/css/template.scss
Original file line number Diff line number Diff line change
Expand Up @@ -334,6 +334,10 @@ a[aria-expanded="true"] {
background: $bg;
}

.profile-card:hover {
border-color: $link-color;
}

/*
::-webkit-scrollbar {
Expand Down

0 comments on commit a4b6e1c

Please sign in to comment.