Put rounded corners back where they belong

This commit is contained in:
2020-10-17 17:45:09 +01:00
parent bb4d31477e
commit 0fee753284
6 changed files with 9 additions and 7 deletions

File diff suppressed because one or more lines are too long

View File

@@ -35,6 +35,7 @@ textarea {
.event-mic-photo { .event-mic-photo {
max-width: 2em; max-width: 2em;
border-radius: 0.25em;
} }
.item-description { .item-description {

View File

@@ -13,7 +13,7 @@
<span class="pull-right"> <span class="pull-right">
{% if object.mic %} {% if object.mic %}
<div class="text-center"> <div class="text-center">
<img src="{{ object.mic.profile_picture }}" class="event-mic-photo img-rounded"/> <img src="{{ object.mic.profile_picture }}" class="event-mic-photo rounded"/>
</div> </div>
{% elif object.is_rig %} {% elif object.is_rig %}
<span class="fas fa-exclamation-sign"></span> <span class="fas fa-exclamation-sign"></span>

View File

@@ -1,7 +1,7 @@
{# pass in variable "profile" to this template #} {# pass in variable "profile" to this template #}
<button title="{{profile.name}}" type="button" class="btn btn-default btn-xs" data-container="body" data-html="true" data-trigger='hover focus' data-toggle="popover" data-content=' <button title="{{profile.name}}" type="button" class="btn btn-default btn-xs" data-container="body" data-html="true" data-trigger='hover focus' data-toggle="popover" data-content='
<img src="{{profile.profile_picture}}" class="img-responsive img-rounded center-block" style="max-width:4em" /> <img src="{{profile.profile_picture}}" class="img-fluid rounded center-block" style="max-width:4em" />
<dl class="dl-vertical"> <dl class="dl-vertical">
<dt>Email</dt> <dt>Email</dt>
<dd>{{profile.email}}</dd> <dd>{{profile.email}}</dd>

View File

@@ -40,7 +40,7 @@
<div class="col"> <div class="col">
<a href="https://gravatar.com/"> <a href="https://gravatar.com/">
<img src="{{object.profile_picture}}" class="img-responsive img-rounded" /> <img src="{{object.profile_picture}}" class="img-fluid rounded" />
<div class="text-center"> <div class="text-center">
Images hosted by Gravatar Images hosted by Gravatar
</div> </div>

View File

@@ -22,10 +22,10 @@
<div class="align-self-start mr-3"> <div class="align-self-start mr-3">
{% if version.revision.user %} {% if version.revision.user %}
<a href="{% url 'profile_detail' pk=version.revision.user.pk %}" class="modal-href"> <a href="{% url 'profile_detail' pk=version.revision.user.pk %}" class="modal-href">
<img class="media-object img-rounded" src="{{ version.revision.user.profile_picture}}" /> <img class="media-object rounded" src="{{ version.revision.user.profile_picture}}" />
</a> </a>
{% else %} {% else %}
<img class="media-object img-rounded" src="{% static 'imgs/pyrigs-avatar.png' %}" /> <img class="media-object rounded" src="{% static 'imgs/pyrigs-avatar.png' %}" />
{% endif %} {% endif %}
</div> </div>
<div class="media-body"> <div class="media-body">