diff --git a/app/coffee/modules/issues/detail.coffee b/app/coffee/modules/issues/detail.coffee index 6a4783a8..cb5ee826 100644 --- a/app/coffee/modules/issues/detail.coffee +++ b/app/coffee/modules/issues/detail.coffee @@ -217,25 +217,25 @@ WatchersDirective = ($rootscope, $confirm) -> <% } %> - <% _.each(watchers, function(watcher) { %> -
-
- - <%= watcher.full_name_display %> - -
-
- - <%= watcher.full_name_display %> - - <% if (editable) { %> - - <% } %> - -
+
+ <% _.each(watchers, function(watcher) { %> +
+
+ + <%= watcher.full_name_display %> +
- <% }); %> -
""") +
+ + <%= watcher.full_name_display %> + + <% if (editable) { %> + + <% } %> +
+ + <% }); %> + """) link = ($scope, $el, $attrs, $model) -> editable = $attrs.editable? diff --git a/app/styles/components/watchers.scss b/app/styles/components/watchers.scss index c341758f..35075cd9 100644 --- a/app/styles/components/watchers.scss +++ b/app/styles/components/watchers.scss @@ -15,6 +15,9 @@ right: 1rem; top: 4px; } + &.no-watchers { + border-bottom: 0; + } } .watcher-single { @include table-flex(center, center, flex, row, wrap, center);