about summary refs log tree commit diff
path: root/app/assets
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-10-06 21:27:58 +0200
committerEugen Rochko <eugen@zeonfederated.com>2016-10-06 21:27:58 +0200
commit3554d638b31aa5ace2aa524db0165932c15d9a71 (patch)
treed20d71469f6077daf83a6996f4143dd393924b68 /app/assets
parent87ba52ad3f1e32b0608bb6c6ffb226c1988267a3 (diff)
Fix #72 - add follow/unfollow button to public profiles
Diffstat (limited to 'app/assets')
-rw-r--r--app/assets/javascripts/application_public.js2
-rw-r--r--app/assets/stylesheets/accounts.scss7
2 files changed, 9 insertions, 0 deletions
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;