File tree Expand file tree Collapse file tree 2 files changed +1
-38
lines changed
app/preprints/-components/preprint-card Expand file tree Collapse file tree 2 files changed +1
-38
lines changed Original file line number Diff line number Diff line change 11import { tagName } from '@ember-decorators/component' ;
22import Component from '@ember/component' ;
3- import { inject as service } from '@ember/service' ;
43import config from 'ember-osf-web/config/environment' ;
5- import Store from '@ember-data/store' ;
64
75import { layout } from 'ember-osf-web/decorators/component' ;
86import Preprint from 'ember-osf-web/models/preprint' ;
9- import Analytics from 'ember-osf-web/services/analytics' ;
107import pathJoin from 'ember-osf-web/utils/path-join' ;
118import { Permission } from 'ember-osf-web/models/osf-model' ;
12- import Toast from 'ember-toastr/services/toast' ;
139
14- import RouterService from '@ember/routing/router-service' ;
15- import Intl from 'ember-intl/services/intl' ;
1610import template from './template' ;
1711import styles from './styles' ;
1812
@@ -21,11 +15,6 @@ const { OSF: { url: baseURL } } = config;
2115@layout ( template , styles )
2216@tagName ( '' )
2317export default class PreprintCard extends Component {
24- @service analytics ! : Analytics ;
25- @service router ! : RouterService ;
26- @service store ! : Store ;
27- @service toast ! : Toast ;
28- @service intl ! : Intl ;
2918
3019 preprint ?: Preprint ;
3120 delete ?: ( preprint : Preprint ) => void ;
Original file line number Diff line number Diff line change 8282 }
8383}
8484
85- .preprint-body {
86- width : 100% ;
87- }
88-
89- .ember-content-placeholders-text__line {
90- height : 1em ;
91- margin-bottom : 5px ;
92- }
93-
9485dl {
9586 margin-bottom : 10px ;
9687
9788 div {
9889 display : flex ;
9990
10091 dt {
101- width : 110px ; // Preserved as originally
92+ width : 110px ;
10293 margin-right : 5px ;
10394 }
10495
@@ -122,28 +113,11 @@ dl {
122113 }
123114}
124115
125- .open-badges {
126- width : 20% ;
127- border-left-width : thin ;
128- border-left-color : $color-bg-gray-light ;
129- border-left-style : solid ;
130- padding-left : 10px ;
131- }
132-
133- .open-badges.mobile {
134- width : 10% ;
135- padding-left : 0 ;
136- }
137-
138116.list-group-item-heading {
139117 margin-top : 0 ;
140118 margin-bottom : 5px ;
141119}
142120
143- .pull-right {
144- float : right !important ;
145- }
146-
147121.update-button {
148122 color : $color-text-blue-dark ;
149123}
You can’t perform that action at this time.
0 commit comments