diff --git a/funnel/assets/sass/base/_utils.scss b/funnel/assets/sass/base/_utils.scss index 3de432806..fc2344d8c 100644 --- a/funnel/assets/sass/base/_utils.scss +++ b/funnel/assets/sass/base/_utils.scss @@ -38,6 +38,14 @@ margin: auto; } +.margin-left-auto { + margin-left: auto; +} + +.margin-right-auto { + margin-right: auto; +} + .zero-padding { padding: 0 !important; } diff --git a/funnel/templates/project_layout.html.jinja2 b/funnel/templates/project_layout.html.jinja2 index 22fa17105..543e6e44f 100644 --- a/funnel/templates/project_layout.html.jinja2 +++ b/funnel/templates/project_layout.html.jinja2 @@ -323,8 +323,8 @@ {{ faicon(icon='grip-vertical', baseline=false, css_class="margin-bottom drag-handle") }} {%- endif %} -
- {{ profileavatar(sponsorship.member, css_class='flex-item-align-end') }} +
+ {{ profileavatar(sponsorship.member, css_class='margin-left-auto') }} {% if current_auth.user and current_auth.user.is_site_editor %} {{ faicon(icon='edit', baseline=false, css_class="mui--text-light mui--align-middle fa-icon--left-margin fa-icon--right-margin") }} {{ faicon(icon='trash-alt', baseline=false, css_class="mui--text-light mui--align-middle") }}