diff --git a/app/assets/stylesheets/layout.scss b/app/assets/stylesheets/layout.scss index 073dcde3e..4dbd49d55 100644 --- a/app/assets/stylesheets/layout.scss +++ b/app/assets/stylesheets/layout.scss @@ -1857,40 +1857,6 @@ table { } } -.following { - - .follow-list { - list-style-type: circle; - padding: calc($line-height / 2); - - li { - margin-bottom: calc($line-height / 2); - margin-left: $line-height; - } - } - - h3 { - font-size: rem-calc(24); - margin-top: $line-height; - padding-left: rem-calc(30); - position: relative; - - span { - left: 0; - position: absolute; - top: 2px; - } - } - - .interests { - - @include breakpoint(medium) { - border-left: 1px solid #ececec; - padding-left: $line-height; - } - } -} - // 19. Recommendations // ------------------- diff --git a/app/assets/stylesheets/users/following.scss b/app/assets/stylesheets/users/following.scss new file mode 100644 index 000000000..f14e7dfcd --- /dev/null +++ b/app/assets/stylesheets/users/following.scss @@ -0,0 +1,33 @@ +.users-following { + + .follow-list { + list-style-type: circle; + padding: calc($line-height / 2); + + li { + margin-bottom: calc($line-height / 2); + margin-left: $line-height; + } + } + + h3 { + font-size: rem-calc(24); + margin-top: $line-height; + padding-left: rem-calc(30); + position: relative; + + span { + left: 0; + position: absolute; + top: 2px; + } + } + + .interests { + + @include breakpoint(medium) { + border-left: 1px solid #ececec; + padding-left: $line-height; + } + } +} diff --git a/app/views/users/_following.html.erb b/app/components/users/following_component.html.erb similarity index 91% rename from app/views/users/_following.html.erb rename to app/components/users/following_component.html.erb index d09f99fe6..4470cb4c5 100644 --- a/app/views/users/_following.html.erb +++ b/app/components/users/following_component.html.erb @@ -1,4 +1,4 @@ -