Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 11 additions & 2 deletions app/assets/stylesheets/simple_discussion.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
@import "simple_discussion_variables";

.community-heading {
margin-top: 10px;
width: 95%;
margin-top: 24px;
width: 75%;
color: #212529;
margin-left: 4rem;
margin-bottom: 24px;
Expand Down Expand Up @@ -130,6 +130,10 @@
font-weight: 500;
padding: 10px 12px;
margin-bottom: 5px;
display: flex;
gap: 0.7rem;
align-items: center;


&:hover {
background-color: $forum-thread-filter-btn-link-hover-background;
Expand Down Expand Up @@ -301,4 +305,9 @@
.thread-page-container {
border: 1px solid #80808029;
padding: 15px;
max-width:71%
}

.thread-menu-container{
max-width: 30%;
}
2 changes: 1 addition & 1 deletion app/views/layouts/simple_discussion.html.erb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<div>
<h1 class="community-heading"><%= t('community') %></h1>
<div class="row simple_discussion mt-2">
<div class="col-md-2 mb-3">
<div class="col-md-2 mb-3 thread-menu-container">
<div class="col sidebar-sticky">
<%= link_to t('ask_a_question'), simple_discussion.new_forum_thread_path, class: "btn forum-primary-btn btn-block mb-4" %>

Expand Down