diff --git a/assets/less/classes/profile/guidelines.less b/assets/less/classes/profile/guidelines.less index 3138d2bc..490aeeda 100644 --- a/assets/less/classes/profile/guidelines.less +++ b/assets/less/classes/profile/guidelines.less @@ -1,13 +1,10 @@ .profile__guidelines { + display: flex; + flex-wrap: auto; + justify-content: space-evenly; + padding: 2px; margin-bottom: 2px; - &__content { - display: flex; - flex-wrap: auto; - justify-content: space-evenly; - padding: 2px; - } - &__section { width: 100%; list-style: none; diff --git a/templates/user/profile.twig b/templates/user/profile.twig index bf2c624f..32c9b0e6 100644 --- a/templates/user/profile.twig +++ b/templates/user/profile.twig @@ -73,36 +73,30 @@ {% if is_editing %}
-
- Guidelines -
+ -
+ {% if perms.edit_avatar %} + {% endif %} - {% if perms.edit_avatar %} - - {% endif %} - - {% if perms.edit_background %} - - {% endif %} -
+ {% if perms.edit_background %} + + {% endif %}
{% else %}