From ac17c09cf7cdb774b7fd4e2c39178cad53963901 Mon Sep 17 00:00:00 2001 From: pixeldesu Date: Mon, 1 Dec 2014 21:33:51 +0100 Subject: [PATCH] more changes --- app/assets/stylesheets/base.css.scss | 4 ++++ app/views/user/show.html.haml | 7 +++---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/app/assets/stylesheets/base.css.scss b/app/assets/stylesheets/base.css.scss index 08fd0b43..80889bbf 100644 --- a/app/assets/stylesheets/base.css.scss +++ b/app/assets/stylesheets/base.css.scss @@ -65,6 +65,10 @@ body { font-size: 80%; } +.user-profiletext { + margin-bottom: 2px; +} + .answer-box .text-muted a, .answer-box .text-muted a:hover { color: $gray-dark; text-decoration: none; diff --git a/app/views/user/show.html.haml b/app/views/user/show.html.haml index 909cde71..7df07969 100644 --- a/app/views/user/show.html.haml +++ b/app/views/user/show.html.haml @@ -15,15 +15,14 @@ %p.user-admin %i.fa.fa-flask Admin - / TODO: make this look prettier (pixeldesu!!!!) - unless @user.bio.blank? - %p= @user.bio + %p.user-profiletext= @user.bio - unless @user.website.blank? - %p + %p.user-profiletext %i.fa.fa-globe %a{href: @user.website}= @user.display_website - unless @user.location.blank? - %p + %p.user-profiletext %i.fa.fa-location-arrow = @user.location .row