Skip to content

Commit 3564854

Browse files
authored
fix: box cut issue when they are in odd number fixed
1 parent 4bc6db9 commit 3564854

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"description": "This component contains an option to select an input file form which metadata needs to be extracted, an option to search from available mapping schemas whose name will be self explainatory .",
44
"author": "Ajay",
55
"license": "Apache License 2.0",
6-
"version": "0.5.8",
6+
"version": "0.5.9",
77
"private": false,
88
"keywords": [
99
"metadata",

src/main.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -148,10 +148,10 @@ class MappingInputProvider extends HTMLElement {
148148
});
149149
}
150150
optionsContainer.appendChild(division);
151-
if (mappingIds.length < 5) {
152-
optionsContainer.classList.add('options-center'); // Add the class if less than 5 cards
151+
if (mappingIds.length < 4) {
152+
optionsContainer.classList.add('options-center'); // Add the class if less than 4 cards
153153
} else {
154-
optionsContainer.classList.remove('options-center'); // Remove the class if more than 5 cards
154+
optionsContainer.classList.remove('options-center'); // Remove the class if more than 4 cards
155155
}
156156
})
157157
}).catch(error => {

0 commit comments

Comments
 (0)