Skip to content

Commit cb675b1

Browse files
brianjgeigeradlius
authored andcommitted
Fix css on my-registrations page
1 parent 977a0bc commit cb675b1

File tree

2 files changed

+11
-6
lines changed

2 files changed

+11
-6
lines changed

lib/registries/addon/my-registrations/styles.scss

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@
2828
list-style-image: none;
2929
list-style-position: outside;
3030
list-style-type: none;
31-
height: 41px;
32-
padding: 0;
31+
padding: 0 0 41px;
3332
box-sizing: border-box;
3433
}
3534

mirage/scenarios/registrations.ts

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -117,29 +117,33 @@ export function registrationScenario(
117117
{ field_name: 'Another Field', field_value: 'aloha' },
118118
],
119119
}, 'withContributors', 'withReviewActions');
120+
server.create('contributor', { users: currentUser, node: decaf });
120121

121-
server.create('registration', {
122+
const cuban = server.create('registration', {
122123
id: 'cuban',
123124
title: 'embargoed',
124125
registrationSchema: server.schema.registrationSchemas.find('testSchema'),
125126
provider: egap,
126127
registeredBy: currentUser,
127128
}, 'withContributors', 'withReviewActions', 'isEmbargo');
128129

130+
server.create('contributor', { users: currentUser, node: cuban });
131+
129132
server.createList('registration', 12,
130133
{
131134
reviewsState: RegistrationReviewStates.Pending,
132135
provider: egap,
133136
});
134137
server.create('contributor', { node: decaf }, 'unregistered');
135138

136-
server.create('registration', {
139+
const wdrwn = server.create('registration', {
137140
id: 'wdrwn',
138141
title: 'Withdrawn Hermit',
139142
registrationSchema: server.schema.registrationSchemas.find('testSchema'),
140143
provider: egap,
141144
reviewsState: RegistrationReviewStates.Withdrawn,
142145
}, 'withContributors', 'withReviewActions');
146+
server.create('contributor', { users: currentUser, node: wdrwn });
143147

144148
server.create('subscription');
145149

@@ -162,18 +166,20 @@ export function registrationScenario(
162166
provider: egap,
163167
}, 'withContributors', 'isEmbargo');
164168

165-
server.create('registration', {
169+
const pndwd = server.create('registration', {
166170
id: 'pndwd',
167171
title: 'Cold Turkey',
168172
provider: egap,
169173
reviewsState: RegistrationReviewStates.PendingWithdraw,
170174
}, 'withSingleReviewAction');
175+
server.create('contributor', { users: currentUser, node: pndwd });
171176

172-
server.create('registration', {
177+
const aerchive = server.create('registration', {
173178
id: 'aerchive',
174179
registrationSchema: server.schema.registrationSchemas.find('testSchema'),
175180
provider,
176181
}, 'isArchiving');
182+
server.create('contributor', { users: currentUser, node: aerchive });
177183

178184
const draftNode = server.create('draft-node', 'withFiles');
179185
server.create('draft-registration', {

0 commit comments

Comments
 (0)