diff --git a/package-lock.json b/package-lock.json index d85ccea8..e08dea8f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "interslavic", - "version": "1.25.0", + "version": "1.25.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "interslavic", - "version": "1.25.0", + "version": "1.25.1", "license": "MIT", "dependencies": { "@ag-grid-community/client-side-row-model": "25.2.0", diff --git a/package.json b/package.json index f322cde0..b1d0ba15 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "interslavic", - "version": "1.25.0", + "version": "1.25.1", "description": "Interslavic Dictionary", "license": "MIT", "author": { @@ -27,8 +27,8 @@ "test:dictionary-update-shanshot": "cross-env NODE_ENV=production UPDATE_SNAPSHOT=false tsx -r tsconfig-paths/register ./src/services/dictionary-test" }, "pre-commit": [ - "lint:fix", - "stylelint:fix" + "lint", + "stylelint" ], "dependencies": { "@ag-grid-community/client-side-row-model": "25.2.0", diff --git a/src/components/ResultsCard/ResultsCard.scss b/src/components/ResultsCard/ResultsCard.scss index 828e5471..5bcb078d 100644 --- a/src/components/ResultsCard/ResultsCard.scss +++ b/src/components/ResultsCard/ResultsCard.scss @@ -32,6 +32,7 @@ } .ipa { + margin-left: 4px; color: var(--muted-text-color); font-weight: 500; } @@ -113,13 +114,12 @@ } &__details { - margin-left: 8px; + margin-left: 4px; color: var(--muted-text-color); } &__translate { .results-card__details { - margin-left: 0; font-weight: 500; } } @@ -173,7 +173,7 @@ &__status { padding: 0; border: none; - margin: 0; + margin: 0 0 0 4px; appearance: none; background: none; diff --git a/src/components/ResultsCard/ResultsCard.tsx b/src/components/ResultsCard/ResultsCard.tsx index b69f0daf..5a09a59b 100644 --- a/src/components/ResultsCard/ResultsCard.tsx +++ b/src/components/ResultsCard/ResultsCard.tsx @@ -182,13 +182,9 @@ export const ResultsCard = {item.to !== 'isv' ? ( ) : renderOriginal(item, alphabets, caseQuestions)} - {'\u00A0'} {item.to === 'isv' && short && ( - <> -   - {item.details} - + {item.details} )} {!short && (