Skip to content

Commit 8775427

Browse files
authored
Merge pull request #624 from OpenKnowledgeMaps/triple-cite
Enabled cite feature in Triple
2 parents a1c7587 + 8c593e7 commit 8775427

2 files changed

Lines changed: 13 additions & 1 deletion

File tree

vis/js/templates/listentry/PaperButtons.jsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,9 @@ const PaperButtons = ({
4646
};
4747

4848
const mapStateToProps = (state) => ({
49-
//showCiteButton: ["base", "pubmed"].includes(state.service),
49+
// showCiteButton: ["base", "pubmed", "triple_km", "triple_sg"].includes(
50+
// state.service
51+
// ),
5052
showCiteButton: state.list.citePapers,
5153
});
5254

vis/stylesheets/modules/_modal.scss

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -386,3 +386,13 @@ h5 {
386386
margin-top: 5px;
387387
font-style: italic;
388388
}
389+
390+
.citation {
391+
display: block;
392+
padding: 10px;
393+
background-color: rgba(239,243,244,1);
394+
hyphens: none;
395+
border-radius: 3px;
396+
-moz-border-radius: 3px;
397+
word-break: break-word;
398+
}

0 commit comments

Comments
 (0)