-
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 inconsistent sidebar styles bug #10
base: master
Are you sure you want to change the base?
Conversation
Will not merge. This fix introduces new bugs in existing styles and javascript. See: |
Please reference the issue you are closing either in the body of the pull request or directly inside your commit message. |
Fixes #1. Changed ".sidebar_item"/".sidebar_body" to ".sidebar-item"/".sidebar-body" in existing styles and javascript. |
@@ -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.
Please explain how modifying sidebar_style
to sidebar-style
is relevant to original issue.
Changing the archives class to sidebar-item from sidebar_item fixed the styles bug because sidebar-item had the required styles. |
@@ -1,4 +1,4 @@ | |||
<li id="sidebar_<%= sidebar.id %>" class="sidebar_item" data-sortable="sidebar_<%= sidebar.id %>" > | |||
<li id="sidebar_<%= sidebar.id %>" class="sidebar-item" data-sortable="sidebar_<%= sidebar.id %>" > |
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.
Will not merge.
This fix introduces new bugs in existing styles and javascript.
See:
app/assets/stylesheets/sidebar_admin.css.scss#L25
app/assets/javascripts/sidebar.js#L31
⭐ |
No description provided.