From 84b4833fed9e1032b9360437f9eb51f23a67cb64 Mon Sep 17 00:00:00 2001 From: Anand Chitipothu Date: Fri, 7 May 2021 12:33:43 +0530 Subject: [PATCH] style: tweaked the styles of profile page --- community/www/profiles/profile.html | 39 ++++++++++++++++------------- 1 file changed, 22 insertions(+), 17 deletions(-) diff --git a/community/www/profiles/profile.html b/community/www/profiles/profile.html index ce04294d..cd81ada0 100644 --- a/community/www/profiles/profile.html +++ b/community/www/profiles/profile.html @@ -55,7 +55,6 @@ .dashboard__details { padding-top: 2rem; - width: 80%; } .dashboard__course { @@ -83,12 +82,21 @@ .dashboard__description { height: 100px; } + + @media (max-width: 900px) { + /* .dashboard__photo { + display: none; + } */ + .dashboard__parent { + flex-direction: column; + } + } + {% endblock %} {% block page_content %} -
-
+
{{ Profile(member.photo, member.full_name, member.abbr, "large")}}
@@ -106,26 +114,23 @@
-
-
- {% if sketches %} - {% for sketch in sketches %} -
- {{ widgets.SketchTeaser(sketch=sketch) }} -
- {% endfor %} - {% endif %} +
+ {% if sketches %} + {% for sketch in sketches %} +
+ {{ widgets.SketchTeaser(sketch=sketch) }}
- {% if not sketches %} -

{{member.full_name}} has not created any skecth yet.

- {% endif %} + {% endfor %} + {% endif %}
+ {% if not sketches %} +

{{member.full_name}} has not created any skecth yet.

+ {% endif %}
-
{% endblock %} - \ No newline at end of file +