Skip to content

Commit

Permalink
Merge pull request #516 from datagov-cz/issue-al-169
Browse files Browse the repository at this point in the history
Issue AL-169
  • Loading branch information
bindeali authored Dec 3, 2023
2 parents 5a0ed9d + aa21c41 commit 25b3248
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/locale/cs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions src/locale/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
1 change: 1 addition & 0 deletions src/main/manager/details/DiagramManagerDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,7 @@ export const DiagramManagerDetails: React.FC<Props> = (props: Props) => {
hideSelectedOptions={true}
isClearable={false}
value={inputVocabs}
menuPosition="fixed"
styles={{
multiValue: (baseStyles, state) => ({
...baseStyles,
Expand Down
4 changes: 4 additions & 0 deletions src/panels/element/VocabularySelector.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@ export class VocabularySelector extends React.Component<Props> {
borderTopLeftRadius: "0",
borderTopRightRadius: "0",
}),
menu: (baseStyles) => ({
...baseStyles,
marginTop: "0",
}),
}}
options={this.buildOptions()}
placeholder={
Expand Down

0 comments on commit 25b3248

Please sign in to comment.