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

Fix menu style for the sidebar #198

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@

### Upcoming Release

* [UI] Fix menu style for the sidebar
* [#161] [FEATURE] Translation: Mandarin Chinese
* [#142] [FEATURE] Translation: Brazilian Portuguese
* [#171] [FEATURE] Translation: Polish
Expand Down
6 changes: 5 additions & 1 deletion app/assets/stylesheets/administrate/_sidebar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,15 @@
overflow-y: auto;
padding: 0 $base-spacing;

&__list li:first-child a {

Choose a reason for hiding this comment

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

Selector should have depth of applicability no greater than 2, but was 3

padding-top: $base-spacing;
}

&__link {
@include fill-parent;
color: $base-font-color;
display: block;
padding-top: $base-spacing;
padding-bottom: $base-spacing;
transition: color 0.05s linear;

&--active {
Expand Down