Skip to content

Commit

Permalink
change header of references pane to show heading instead of anchor (#542
Browse files Browse the repository at this point in the history
)
  • Loading branch information
michaelficarra authored Aug 30, 2023
1 parent 0ad7237 commit 959b412
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
10 changes: 4 additions & 6 deletions css/elements.css
Original file line number Diff line number Diff line change
Expand Up @@ -981,15 +981,13 @@ tr.del > td {
}

.menu-pane-header {
padding: 0 5px;
text-transform: uppercase;
background-color: #aaa;
color: #335;
padding: 2px 8px;
background-color: #bbb;
font-weight: bold;
letter-spacing: 2px;
letter-spacing: 1px;
flex-grow: 0;
flex-shrink: 0;
font-size: 0.8em;
font-size: 80%;
}

.menu-pane-header emu-opt,
Expand Down
2 changes: 1 addition & 1 deletion js/menu.js
Original file line number Diff line number Diff line change
Expand Up @@ -762,7 +762,7 @@ let referencePane = {
let previousId;
let previousCell;
let dupCount = 0;
this.$headerRefId.textContent = '#' + entry.id;
this.$headerRefId.innerHTML = getKey(entry);
this.$headerRefId.setAttribute('href', makeLinkToId(entry.id));
this.$headerRefId.style.display = 'inline';
(entry.referencingIds || [])
Expand Down

0 comments on commit 959b412

Please sign in to comment.