@konfuzio/document-validation-ui 0.1.5-automatic-document-splitting → 0.1.5-automatic-document-splitting-3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/css/app.css +1 -1
- package/dist/index.html +1 -1
- package/dist/js/app.js +1 -1
- package/dist/js/app.js.map +1 -1
- package/package.json +1 -1
- package/src/assets/scss/document_edit.scss +0 -4
- package/src/assets/scss/document_top_bar.scss +1 -1
- package/src/assets/scss/variables.scss +2 -0
- package/src/components/DocumentEdit/DocumentEdit.vue +1 -1
package/package.json
CHANGED
|
@@ -42,12 +42,14 @@ $text-color: #1a1a1a;
|
|
|
42
42
|
:root {
|
|
43
43
|
--primary-color: #{$konfuzio-green};
|
|
44
44
|
--primary-button: 4px;
|
|
45
|
+
--top-bar-background: #{$white};
|
|
45
46
|
}
|
|
46
47
|
|
|
47
48
|
$primary: var(--primary-color);
|
|
48
49
|
$hover-style: brightness(0.8) contrast(160%) grayscale(0.4);
|
|
49
50
|
$font-family: "Inter", sans-serif;
|
|
50
51
|
$background: $white;
|
|
52
|
+
$top-bar-background: var(--top-bar-background);
|
|
51
53
|
$toolbar: $text-color;
|
|
52
54
|
$tooltip: $dark;
|
|
53
55
|
$toolbar-elements: $white;
|
|
@@ -188,7 +188,7 @@ export default {
|
|
|
188
188
|
(page) => page.id === item.pages[0].id
|
|
189
189
|
);
|
|
190
190
|
|
|
191
|
-
if (firstPage.number === 1) {
|
|
191
|
+
if (firstPage.number === 1 && item.pages.length > 1) {
|
|
192
192
|
// only add the active splitting line from the 1st page of the second document
|
|
193
193
|
// since it's the first splitting point
|
|
194
194
|
return;
|