Compare commits

...

3 Commits

Author SHA1 Message Date
Stanislav Lunyachek
a20b122b4e feat: Add header styles inclusion 2025-03-12 09:03:51 +03:30
Stanislav Lunyachek
a7b052fc42 fix: Fix for the Paragon modal shadow, which prevents clicking on an element on the grading page 2024-12-18 13:08:22 +03:30
ihor-romaniuk
09dbdb10ee fix: incorrect message for locking 2024-12-07 12:40:44 +03:30
4 changed files with 5 additions and 8 deletions

View File

@@ -10,6 +10,7 @@ $fa-font-path: "~font-awesome/fonts";
$input-focus-box-shadow: $input-box-shadow; // hack to get upgrade to paragon 4.0.0 to work
@import "~@edx/frontend-component-footer/dist/_footer";
@import "~@edx/frontend-component-header/dist/index";
#root {
display: flex;

View File

@@ -16,7 +16,7 @@ import ReviewError from './ReviewError';
*/
export class LockErrors extends React.Component {
get errorProp() {
if (this.props.errorStatus === ErrorStatuses.forbidden) {
if (this.props.errorStatus === ErrorStatuses.conflict) {
return {
heading: messages.errorLockContestedHeading,
message: messages.errorLockContested,

View File

@@ -41,7 +41,7 @@ describe('LockErrors component', () => {
expect(el.snapshot).toMatchSnapshot();
});
test('snapshot: error with conflicted lock', () => {
el = shallow(<LockErrors {...props} errorStatus={ErrorStatuses.forbidden} />);
el = shallow(<LockErrors {...props} errorStatus={ErrorStatuses.conflict} />);
expect(el.snapshot).toMatchSnapshot();
});
});

View File

@@ -4,12 +4,8 @@
background-color: $gray-300 !important;
padding: inherit;
& > div.pgn__modal-body-content {
& > div.pgn__modal-body-content .row {
height: 100%;
.row {
height: 100%;
}
}
.content-block {
@@ -40,4 +36,4 @@
width: 100%;
}
}
}
}