diff --git a/src/locale/cs.ts b/src/locale/cs.ts index 763999d6..1ef2327e 100644 --- a/src/locale/cs.ts +++ b/src/locale/cs.ts @@ -58,8 +58,8 @@ export const cs: { [Property in keyof typeof en]: string } = { modalNewElemIRI: "Pojem bude vytvořen s tímto IRI:", terms: "pojmy", termsCase: "pojmů", - fromList: "Z projektu", - otherVocabularies: "Ostatní slovníky", + fromList: "Z pracovního prostoru", + otherVocabularies: "Mimo pracovní prostor", authenticationError: "Chyba autentikace. Prosím, kontaktujte serverového administrátora.", authenticationUpdateError: diff --git a/src/locale/en.ts b/src/locale/en.ts index 85771e18..6b3b07f3 100644 --- a/src/locale/en.ts +++ b/src/locale/en.ts @@ -201,8 +201,8 @@ export const en = { help: "Help", modalNewElemError: "You must enter a label in order to create a new term.", selectVocabulary: "Term will be created in:", - fromList: "From project", - otherVocabularies: "Other vocabularies", + fromList: "From workspace", + otherVocabularies: "From outside the workspace", view: "View", switchColors: "Vocabulary color scheme", reportIssue: "Report an issue", diff --git a/src/main/manager/details/DiagramManagerDetails.tsx b/src/main/manager/details/DiagramManagerDetails.tsx index 12eaf94e..9add9dbe 100644 --- a/src/main/manager/details/DiagramManagerDetails.tsx +++ b/src/main/manager/details/DiagramManagerDetails.tsx @@ -243,6 +243,7 @@ export const DiagramManagerDetails: React.FC = (props: Props) => { hideSelectedOptions={true} isClearable={false} value={inputVocabs} + menuPosition="fixed" styles={{ multiValue: (baseStyles, state) => ({ ...baseStyles, diff --git a/src/panels/element/VocabularySelector.tsx b/src/panels/element/VocabularySelector.tsx index 4f198b03..e7b8f8b0 100644 --- a/src/panels/element/VocabularySelector.tsx +++ b/src/panels/element/VocabularySelector.tsx @@ -59,6 +59,10 @@ export class VocabularySelector extends React.Component { borderTopLeftRadius: "0", borderTopRightRadius: "0", }), + menu: (baseStyles) => ({ + ...baseStyles, + marginTop: "0", + }), }} options={this.buildOptions()} placeholder={