From 621481cdfcf4f6864c5d7187a4ff25c5c41b540f Mon Sep 17 00:00:00 2001 From: Lisa Passing Date: Mon, 11 May 2015 13:48:50 +0200 Subject: [PATCH] fix alignment for profile hooks without admin rights --- app/styles/app/layouts/profile.sass | 11 ++++++++++- app/templates/account.hbs | 6 ++---- app/templates/components/hooks-list-item.hbs | 1 - 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/app/styles/app/layouts/profile.sass b/app/styles/app/layouts/profile.sass index ceae5ea1..5890bec9 100644 --- a/app/styles/app/layouts/profile.sass +++ b/app/styles/app/layouts/profile.sass @@ -2,7 +2,6 @@ font-size: $font-size-sm font-weight: 400 - .profile-main header h1 @@ -32,6 +31,9 @@ overflow: hidden; &:after @include fadeOut(right, -90deg, $white) + p + font-size: $font-size-m + color: #7a7a7a .cta-btn text-align: right @@ -132,6 +134,7 @@ p.profile-user-last width: grid-calc(5, 24) .switch display: inline-block + vertical-align: middle .profile-settings display: inline-block margin-left: 1rem; @@ -155,6 +158,7 @@ p.profile-user-last padding: .25em .5em .3em white-space: nowrap overflow: hidden + vertical-align: middle span:not(.sync-spinner) display: none margin-left: 2rem @@ -219,3 +223,8 @@ p.profile-user-last top: 1em right: 1em @extend .icon--dismiss-red + + +#unadministerable-hooks + p + margin-top: 2em \ No newline at end of file diff --git a/app/templates/account.hbs b/app/templates/account.hbs index 74c1a589..45eb1c2e 100644 --- a/app/templates/account.hbs +++ b/app/templates/account.hbs @@ -94,10 +94,8 @@