From 3554d638b31aa5ace2aa524db0165932c15d9a71 Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Thu, 6 Oct 2016 21:27:58 +0200 Subject: Fix #72 - add follow/unfollow button to public profiles --- app/assets/javascripts/application_public.js | 2 ++ app/assets/stylesheets/accounts.scss | 7 +++++++ 2 files changed, 9 insertions(+) create mode 100644 app/assets/javascripts/application_public.js (limited to 'app/assets') diff --git a/app/assets/javascripts/application_public.js b/app/assets/javascripts/application_public.js new file mode 100644 index 000000000..31a96fd2d --- /dev/null +++ b/app/assets/javascripts/application_public.js @@ -0,0 +1,2 @@ +//= require jquery +//= require jquery_ujs diff --git a/app/assets/stylesheets/accounts.scss b/app/assets/stylesheets/accounts.scss index f2be0fcf7..e1d5043db 100644 --- a/app/assets/stylesheets/accounts.scss +++ b/app/assets/stylesheets/accounts.scss @@ -58,6 +58,13 @@ } } + .controls { + position: absolute; + top: 10px; + right: 10px; + z-index: 2; + } + .details { display: flex; margin-top: 30px; -- cgit