Add spacing to sharing buttons
This commit is contained in:
parent
25b5d08889
commit
a27e995179
|
@ -21,22 +21,22 @@
|
|||
.align-self-center
|
||||
%p.fs-3.fw-bold= t(".sharing.heading")
|
||||
%p
|
||||
%a.btn.btn-primary{ href: "https://twitter.com/intent/tweet?text=", data: { inbox_sharing_target: "twitter" }, target: "_blank" }
|
||||
%a.btn.btn-primary.mb-1{ href: "https://twitter.com/intent/tweet?text=", data: { inbox_sharing_target: "twitter" }, target: "_blank" }
|
||||
%i.fab.fa-twitter.fa-fw
|
||||
Twitter
|
||||
%a.btn.btn-primary{ href: "#", data: { inbox_sharing_target: "tumblr" }, target: "_blank" }
|
||||
%a.btn.btn-primary.mb-1{ href: "#", data: { inbox_sharing_target: "tumblr" }, target: "_blank" }
|
||||
%i.fab.fa-tumblr.fa-fw
|
||||
Tumblr
|
||||
%a.btn.btn-primary{ href: "#", data: { inbox_sharing_target: "telegram" }, target: "_blank" }
|
||||
%a.btn.btn-primary.mb-1{ href: "#", data: { inbox_sharing_target: "telegram" }, target: "_blank" }
|
||||
%i.fab.fa-telegram.fa-fw
|
||||
Telegram
|
||||
%a.btn.btn-primary{ data: { controller: :clipboard, action: "clipboard#copy", inbox_sharing_target: "clipboard" } }
|
||||
%i.fa.fa-fw.fa-solid.fa-copy
|
||||
= t("actions.share.copy")
|
||||
%button.btn.btn-primary{ data: { controller: "share", action: "share#share", inbox_sharing_target: "other" } }
|
||||
%button.btn.btn-primary.mb-1{ data: { controller: "share", action: "share#share", inbox_sharing_target: "other" } }
|
||||
%i.fa.fa-fw.fa-share-alt
|
||||
= t("actions.share.other")
|
||||
- if current_user.sharing_custom_url.present?
|
||||
%a.btn.btn-primary{ href: current_user.sharing_custom_url, data: { inbox_sharing_target: "custom" }, target: "_blank" }
|
||||
%a.btn.btn-primary.mb-1{ href: current_user.sharing_custom_url, data: { inbox_sharing_target: "custom" }, target: "_blank" }
|
||||
= current_user.display_sharing_custom_url
|
||||
%p.text-muted= t(".sharing.hint_html", settings: link_to(t(".sharing.settings"), settings_sharing_path))
|
||||
|
|
Loading…
Reference in New Issue