Skip to content

Commit

Permalink
change styling to accommodate different sized logos
Browse files Browse the repository at this point in the history
  • Loading branch information
“OMosimege” committed May 14, 2024
1 parent 0bc5fed commit ec9e71b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 3 additions & 2 deletions app/static/css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,9 @@ html {

.uni-logo {
width: auto;
height: 50px;
margin: 10px 0 0 0;
height: 75px;
margin: 10px 0 10px 0;
padding: 0 10px 10px 0;
}

/*Error pages*/
Expand Down
2 changes: 0 additions & 2 deletions app/templates/app/institutions.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ <h5 class="card-title">{{ institution.name }}</h5>
{{institution.project_count}} applicable projects
{% endif %}
</p>
<br>
</div>
<div class="col-sm-6 right-col">
<p class="card-text">Profile completion:</p>
Expand All @@ -31,7 +30,6 @@ <h5 class="card-title">{{ institution.name }}</h5>
<i class="bi-star"></i>
<i class="bi-star"></i>
</div>
<br>
<div class="card-logo">
{% if institution.logo %}
<img src="{{ institution.logo.url }}" alt="{{ institution.name }} logo"
Expand Down

0 comments on commit ec9e71b

Please sign in to comment.