Skip to content

Commit

Permalink
Separate toolbox items into independently-wrappable "words" (#554)
Browse files Browse the repository at this point in the history
  • Loading branch information
gibson042 authored Sep 4, 2023
1 parent b9e720f commit 65103ee
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 3 additions & 2 deletions css/elements.css
Original file line number Diff line number Diff line change
Expand Up @@ -1204,13 +1204,14 @@ li.menu-search-result-term:before {
background: #ddd;
border: 1px solid #aaa;
color: #eee;
padding: 5px;
padding: 5px 7px;
border-radius: 3px;
}

.toolbox a {
text-decoration: none;
padding: 0 5px;
padding: 0 3px;
white-space: nowrap;
}

.toolbox a:hover {
Expand Down
2 changes: 2 additions & 0 deletions js/menu.js
Original file line number Diff line number Diff line change
Expand Up @@ -902,7 +902,9 @@ let Toolbox = {
referencePane.showReferencesFor(this.entry);
});
this.$container.appendChild(this.$permalink);
this.$container.appendChild(document.createTextNode(' '));
this.$container.appendChild(this.$pinLink);
this.$container.appendChild(document.createTextNode(' '));
this.$container.appendChild(this.$refsLink);
document.body.appendChild(this.$outer);
},
Expand Down

0 comments on commit 65103ee

Please sign in to comment.