git ssb

10+

Matt McKegg / patchwork



Commit 26bf432efc0fbd7b451314cf7b90b88a3302008c

fix "this is you" styling on profile

Matt McKegg committed on 2/16/2017, 6:57:10 AM
Parent: b2ce2124976cc515372b49adac67cff8f6298f0d

Files changed

modules/page/html/render/profile.jschanged
styles/toggle-button.mcsschanged
modules/page/html/render/profile.jsView
@@ -105,9 +105,9 @@
105105 h('div.title', [
106106 h('h1', ['@', name]),
107107 h('div.meta', [
108108 when(id === yourId, [
109- h('a.-disabled', 'This is you!')
109 + h('a.ToggleButton.-disabled', 'This is you!')
110110 ], [
111111 when(youFollow,
112112 h('a.ToggleButton.-unsubscribe', {
113113 'href': '#',
styles/toggle-button.mcssView
@@ -22,8 +22,14 @@
2222 background-image: svg(subscribed)
2323 padding-right: 25px
2424 }
2525
26 + -disabled {
27 + cursor: default
28 + opacity: 0.4 !important
29 + text-decoration: none !important
30 + }
31 +
2632 :hover {
2733 opacity: 1
2834 }
2935

Built with git-ssb-web