Skip to content
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

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

Conversation

KayvonRanjbar
Copy link

No description provided.

@nathanallen
Copy link
Contributor

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

@nathanallen
Copy link
Contributor

Please reference the issue you are closing either in the body of the pull request or directly inside your commit message.

@KayvonRanjbar
Copy link
Author

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 {
Copy link
Contributor

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.

@KayvonRanjbar
Copy link
Author

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 %>" >
Copy link
Contributor

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

@tgaff
Copy link
Member

tgaff commented Feb 5, 2016

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