Skip to content

Commit

Permalink
Fix #34
Browse files Browse the repository at this point in the history
  • Loading branch information
krassowski committed Aug 21, 2021
1 parent 5de0d97 commit bc366a8
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/referenceBrowser.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,6 @@ export class ReferenceBrowser extends Selector<
<span className={'cm-year'} title={publication.date?.toUTCString()}>
{publication.date?.getFullYear()}
</span>
<span className={'cm-type'}>{type}</span>
</div>
<div className={'cm-Option-details'}>
<CitationOptionAuthors
Expand Down Expand Up @@ -198,6 +197,7 @@ export class ReferenceBrowser extends Selector<
tooltip={this.trans.__('Show full metadata')}
/>
</div>
<span className={'cm-type-detail'}>{type}</span>
<div
className={'cm-abstract cm-collapsed'}
onClick={event => {
Expand Down
14 changes: 14 additions & 0 deletions style/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@
.cm-Option .cm-type {
flex: 0 0 auto;
}

.cm-Option .cm-title {
flex: auto;
height: 1.2em;
Expand Down Expand Up @@ -296,6 +297,19 @@ cite {
position: relative;
}

.cm-ReferenceBrowser .cm-type-detail {
float: right;
padding-top: 2px;
}

.cm-ReferenceBrowser .cm-ButtonBar {
float: left;
}

.cm-ReferenceBrowser .cm-abstract {
clear: both;
}

.cm-abstract.cm-collapsed::after {
--overflow-indicator-height: 20px;
content: '';
Expand Down

0 comments on commit bc366a8

Please sign in to comment.