Remove "discover" class

This commit is contained in:
Andreas Nedbal 2020-04-27 01:55:31 +02:00
parent 61dbfda395
commit 40df3a59d8
2 changed files with 2 additions and 6 deletions

View File

@ -114,10 +114,6 @@ body {
margin-top: 0px;
}
.discover {
padding-top: 20px;
}
.row-eq-height {
display: -webkit-box;
display: -webkit-flex;

View File

@ -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