From d7522d949846d455f09acd3725eefee1c8322ab8 Mon Sep 17 00:00:00 2001 From: Augier Date: Wed, 3 Jun 2015 20:57:02 +0200 Subject: [PATCH] corrected failing cuke and social buttons --- app/assets/stylesheets/mobile/header.scss | 4 +++- app/assets/stylesheets/publisher.scss | 4 ++-- app/views/profiles/_edit_public.haml | 8 ++++++++ app/views/publisher/_publisher.html.haml | 4 ++-- 4 files changed, 15 insertions(+), 5 deletions(-) diff --git a/app/assets/stylesheets/mobile/header.scss b/app/assets/stylesheets/mobile/header.scss index e1edf903d..ede694158 100644 --- a/app/assets/stylesheets/mobile/header.scss +++ b/app/assets/stylesheets/mobile/header.scss @@ -75,8 +75,10 @@ header { form { position: absolute; - left: 15px; + left: 0; right: 22%; + padding: 0 15px; + width: 450px; input { box-shadow: 0 1px 1px #444; diff --git a/app/assets/stylesheets/publisher.scss b/app/assets/stylesheets/publisher.scss index 95b85b451..262611b63 100644 --- a/app/assets/stylesheets/publisher.scss +++ b/app/assets/stylesheets/publisher.scss @@ -216,8 +216,8 @@ height: 30px; line-height: 30px; position: absolute; - right: 100px; - bottom: -31px; + right: 10px; + bottom: -25px; } &.with_location .counter { bottom: -62px; diff --git a/app/views/profiles/_edit_public.haml b/app/views/profiles/_edit_public.haml index 532a0b9cd..85cf916b4 100644 --- a/app/views/profiles/_edit_public.haml +++ b/app/views/profiles/_edit_public.haml @@ -30,6 +30,14 @@ }); }); +- if mobile + .stream + - flash.each do |name, msg| + %div{:id => "flash_#{name}", :class => "expose"} + .message= msg + .stream + %p{:class => "conversation_#{name}"}= msg + %h3= t('profiles.edit.your_public_profile') = error_messages_for profile diff --git a/app/views/publisher/_publisher.html.haml b/app/views/publisher/_publisher.html.haml index faac8440d..4d24f4191 100644 --- a/app/views/publisher/_publisher.html.haml +++ b/app/views/publisher/_publisher.html.haml @@ -56,11 +56,11 @@ =t('cancel') .btn-toolbar.pull-right - %span#publisher_service_icons + %span#publisher_service_icons.btn-group - if current_user.services - for service in current_user.services = service_button(service) - %a.btn.btn-group.btn-link{ href: "#question_mark_pane", class: 'question_mark', rel: 'facebox', title: t('shared.public_explain.manage') } + %a.btn.btn-link{ href: "#question_mark_pane", class: 'question_mark', rel: 'facebox', title: t('shared.public_explain.manage') } %i.entypo.cog = render partial: "publisher/aspect_dropdown", locals: { :selected_aspects => selected_aspects }