Skip to content

Commit

Permalink
Remove styles for empty anchors in wiki, fixes mrliptontea#62
Browse files Browse the repository at this point in the history
  • Loading branch information
mrliptontea committed Sep 3, 2017
1 parent f572a55 commit c595f5b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ Latest (master):
* Introduce project tiles on projects list page (enabled by default, can be switched off by setting `$use-project-tiles` to `false`)
* Fixed #44: adjust width of the label column on the login form
* Merged #49: German translations
* Fixed #62: anchors won't scroll the page

v1.8.0 (2016-11-20):

Expand Down
7 changes: 0 additions & 7 deletions src/sass/components/_wiki.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,6 @@
font-size: $wiki-font-size;

@if $wiki-page-more-vertical-space {
// Anchors will make headers more separated,
// and it will look better when you open page with hash in URL
a[name]:empty {
display: block;
overflow: hidden;
}

// Add some space between list items
ul,
ol {
Expand Down
2 changes: 1 addition & 1 deletion stylesheets/application.css

Large diffs are not rendered by default.

0 comments on commit c595f5b

Please sign in to comment.