-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
problem 1. corrected sidebar fonts to monospace. Changed bullets to u… #12
base: master
Are you sure you want to change the base?
Conversation
@@ -1,5 +1,5 @@ | |||
<% unless sidebar.authors.blank? %> | |||
<h3 class="sidebar-title"><%= t(".authors")%></h3> | |||
<h3 class="sidebar_title"><%= t(".authors")%></h3> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this necessary?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this was an accident in debugging. i should change it back
@@ -22,7 +22,7 @@ | |||
padding: 45px; | |||
border: 1px solid #ccc; | |||
} | |||
.sidebar_item { | |||
.sidebar-item { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this necessary?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I changed this because this controlled the font styling for the Archive sidebar. I could've left this css file alone and only changed the class on the HTML file. Now I know it is an unnecessary change.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, sidebar-item
is not a class used anywhere.
Please push changes addressing my comments to this same branch.
The PR fixes the sidebar font & bullets inconsistency issues.
All sidebars now in monospace font. All bullets now unfilled circles
#1
Sidebar fonts:
Located the correct class that controls the font for the “tags” sidebar with a global search.
It was in bootstrap-2/stylesheets.style.css. the class is called “.sidebar-title”
Located the html file with class that controls the in-correct font for the “archive” sidebar.
It was in lib/author_sidebar/app/views/archive_sidebar/_content.html.erb.
I changed the “.sidebar_title” into “.sidebar-title.”
Located the css file with class that controls the in-correct font for the “archive” sidebar.
It was in sidebar_admin.css.scss
changed the “.sidebar_title” into “.sidebar-title.”
Sidebar bullets: