Skip to content

Commit

Permalink
[frontend] Remove scrollbars in enriched editor tables (#2372)
Browse files Browse the repository at this point in the history
  • Loading branch information
SamuelHassine committed Sep 21, 2022
1 parent 5405d9f commit 1ae8f50
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -149,3 +149,7 @@
.ck-read-only {
color: rgba(255, 255, 255, 0.5) !important;
}

td.ck-editor__editable {
overflow: hidden !important;
}
Original file line number Diff line number Diff line change
Expand Up @@ -149,3 +149,7 @@
.ck-read-only {
color: rgba(255, 255, 255, 0.5) !important;
}

td.ck-editor__editable {
overflow: hidden !important;
}
2 changes: 1 addition & 1 deletion opencti-platform/opencti-graphql/src/domain/work.js
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ export const reportExpectation = async (user, workId, errorData) => {
ctx._source['completed_number'] = params.completed_number;
ctx._source['completed_time'] = params.now;`;
}
// To avoid maximum string in Elastic (536870888), arbitrary limit the number of errors possible in a work to 5000 (50000 * 50000 < 536870888)
// To avoid maximum string in Elastic (536870888), arbitrary limit the number of possible errors in a work to 5000 (5000*50000 < 536870888)
if (errorData) {
const { error, source } = errorData;
sourceScript += 'if (ctx._source.errors.length < 5000) { ctx._source.errors.add(["timestamp": params.now, "message": params.error, "source": params.source]); }';
Expand Down

0 comments on commit 1ae8f50

Please sign in to comment.