From 40df3a59d8881e8c39523f51b8ff421c85f8ac73 Mon Sep 17 00:00:00 2001 From: Andreas Nedbal Date: Mon, 27 Apr 2020 01:55:31 +0200 Subject: [PATCH] Remove "discover" class --- app/assets/stylesheets/base.css.scss | 4 ---- app/views/discover/index.html.haml | 4 ++-- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/app/assets/stylesheets/base.css.scss b/app/assets/stylesheets/base.css.scss index 1d81e758..3d8219b8 100644 --- a/app/assets/stylesheets/base.css.scss +++ b/app/assets/stylesheets/base.css.scss @@ -114,10 +114,6 @@ body { margin-top: 0px; } -.discover { - padding-top: 20px; -} - .row-eq-height { display: -webkit-box; display: -webkit-flex; diff --git a/app/views/discover/index.html.haml b/app/views/discover/index.html.haml index d92126aa..b20a58b3 100644 --- a/app/views/discover/index.html.haml +++ b/app/views/discover/index.html.haml @@ -17,7 +17,7 @@ %a.nav-link{href: "#questions", role: "tab", aria: {controls: "questions"}, data: {toggle: "tab"}}= t 'views.discover.content.tab.questions' %li.nav-item{role: "presentation"} %a.nav-link{href: "#comments", role: "tab", aria: {controls: "comments"}, data: {toggle: "tab"}}= t 'views.discover.content.tab.comments' - .tab-content.discover + .tab-content.mt-3 = render 'discover/tab_answers', answers: @popular_answers = render 'discover/tab_questions', questions: @popular_questions = render 'discover/tab_discussed', comments: @most_discussed @@ -32,7 +32,7 @@ %a.nav-link{href: "#asked", role: "tab", aria: {controls: "asked"}, data: {toggle: "tab"}}= t 'views.discover.people.tab.questions' %li.nav-item{role: "presentation"} %a.nav-link{href: "#answered", role: "tab", aria: {controls: "answered"}, data: {toggle: "tab"}}= t 'views.discover.people.tab.answers' - .tab-content.discover + .tab-content.mt-3 = render 'discover/tab_new', new: @new_users = render 'discover/tab_asked', asked: @users_with_most_questions = render 'discover/tab_most', answered: @users_with_most_answers