Skip to content

FIXED Issue #1: Styling changes to sidebar #13

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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

DavidKim84
Copy link

@DavidKim84 DavidKim84 commented Sep 2, 2016

FIXED Issue #1: Inconsistent Sidebar Styles
All titles in the sidebar are consistent to Monospace.
All li bullets have been changed to circles within the sidebar.

class sidebar_title and class sidebar_body was shown in lib/archives_sidebar/app/views/archives_sidebar/_content.html.erb

whereas
class sidebar-title and class sidebar-body was shown in user-styles.css

Replaced the _ to - within lib/archives_sidebar/app/views/archives_sidebar/_content.html.erb to fix the sidebar issues

Original

  <h3 class="sidebar_title"><%= sidebar.title %></h3>
  <div class="sidebar_body">

FIxed

  <h3 class="sidebar-title"><%= sidebar.title %></h3>
  <div class="sidebar-body">

@@ -32,6 +32,14 @@ img.right {
font-family: monospace;
}

.sidebar_title {
font-family: monospace;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR introduces a redundant CSS rule for styling the sidebar title.

@DavidKim84 DavidKim84 changed the title Side bar fixes FIXED Issue #1: Inconsistent Sidebar Styles for Archives Sep 2, 2016
@melicarls
Copy link

Original comment needs more description of the changes that fixed the issue

@DavidKim84 DavidKim84 changed the title FIXED Issue #1: Inconsistent Sidebar Styles for Archives FIXED Issue #1: Styling changes to sidebar Sep 2, 2016
@melicarls
Copy link

Good description of issues fixed, but what changes did you make to fix them?

@melicarls
Copy link

Where in the HTML did you make those changes? Be more specific.

@melicarls
Copy link

Filename is written incorrectly. It's _content.html.erb, not -content.html.erb. Change that and include the path to the file (lib/archives_sidebar/app/views/archives_sidebar/_content.html.erb)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants