-
Notifications
You must be signed in to change notification settings - Fork 104
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
Fixed #2 #41
base: master
Are you sure you want to change the base?
Fixed #2 #41
Changes from 4 commits
fd6602c
a979453
fb890f1
7da7b37
b30461d
2f39442
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,3 +34,7 @@ | |
display: inline-block; | ||
} | ||
} | ||
|
||
h3.sidebar_title { | ||
font-family: monospace; | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
<% unless sidebar.archives.blank? %> | ||
<h3 class="sidebar_title"><%= sidebar.title %></h3> | ||
<div class="sidebar_body"> | ||
<ul id="archives"> | ||
<div class="sidebar-body"> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. does changing the class here really help display the right months? |
||
<ul> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. are you sure this is an unused ID? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
<% sidebar.archives.each do |month| %> | ||
<% counter = sidebar.show_count ? "<em>(#{month[:article_count]})</em>" : "" %> | ||
<li> | ||
<%= link_to"#{month[:name]} #{counter}".html_safe, articles_by_month_path( month[:year], "%02i" % (month[:month]+1) ) %> | ||
<%= link_to"#{month[:name]} #{counter}".html_safe, articles_by_month_path( month[:year], "%02i" % (month[:month]) ) %> | ||
</li> | ||
<% end %> | ||
</ul> | ||
|
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.
How is this css style relevant to issue #2?
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.
It's not, didn't see that I changed that in Master my bad.