Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions website/static/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -214,4 +214,13 @@ a:hover{
color: #dd4252;
}

._overflow_text{
font-size: 20px;
}

._overflow_img{
max-width: 200px;
height: auto;
}


10 changes: 5 additions & 5 deletions website/templates/issue.html
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,11 @@ <h2 class="page-header"> {{object.description}} <span class="pull-right"><i clas
<a href="/domain/{{object.domain_name}}">
<div class="row">
<div class="col-xs-3">
<img src="{{object.domain.get_logo}}" height="75" onerror="this.onerror=null; this.style.display='none';this.parentNode.childNodes[3].style.display='block';">
<img src="{{object.domain.get_logo}}" class="_overflow_img" height="75" onerror="this.onerror=null; this.style.display='none';this.parentNode.childNodes[3].style.display='block';">
<img src="{% static 'img/logo-small-transparent.png' %}" style="display:none;" class="alt-img">
</div>
<div class="col-xs-9 text-right">
<div class="huge">{{object.domain_title}}</div>
<div class="huge _overflow_text">{{object.domain_title}}</div>
<div>{{issue_count}} issues</div>
</div>
</div>
Expand All @@ -90,13 +90,13 @@ <h2 class="page-header"> {{object.description}} <span class="pull-right"><i clas
<div class="row">
<div class="col-xs-3">
{% if object.user.socialaccount_set.all.0.get_avatar_url %}
<img src="{{object.user.socialaccount_set.all.0.get_avatar_url}}" width="75" height="75">
<img class="_overflow_img" src="{{object.user.socialaccount_set.all.0.get_avatar_url}}" width="75" height="75">
{% else %}
{% gravatar object.user.email 75 %}
{% endif %}
</div>
<div class="col-xs-9 text-right " >
<div class="huge">{{object.user.username}}</div>
<div class="col-xs-9 text-right" >
<div class="huge _overflow_text">{{object.user.username}}</div>
<div>{{users_score}} points</div>
</div>
</div>
Expand Down