diff --git a/pix-editor/app/components/challenges-production/localized-challenges-production.gjs b/pix-editor/app/components/challenges-production/localized-challenges-production.gjs index 00c5f87ac..5a57dcc22 100644 --- a/pix-editor/app/components/challenges-production/localized-challenges-production.gjs +++ b/pix-editor/app/components/challenges-production/localized-challenges-production.gjs @@ -12,6 +12,7 @@ import dayjs from 'ember-dayjs/helpers/dayjs-format'; import Challenge from 'pixeditor/models/challenge'; import LocalizedChallenge from 'pixeditor/models/localized-challenge'; +import DropdownMenu from '../dropdown-menu'; import ChallengesProductionHeader from './challenges-production-header'; const PRIMARY_IN_LOCALE_STATUS = 'PRIMARY_IN_LOCALE'; @@ -175,6 +176,14 @@ export default class LocalizedChallengesProduction extends Component { <:cell> + +
  • a
  • +
  • a
  • +
  • a
  • +
  • a
  • +
  • a
  • +
  • a
  • +
    {{#if localizedChallengeData.translationsUrl}} + +} + diff --git a/pix-editor/app/styles/app.scss b/pix-editor/app/styles/app.scss index 70f7d7357..a5e84e2ed 100644 --- a/pix-editor/app/styles/app.scss +++ b/pix-editor/app/styles/app.scss @@ -40,6 +40,7 @@ @use 'components/login-form'; @use 'components/field'; @use 'components/field/quality'; +@use 'components/dropdown-menu'; @use 'globals/global' as globals-global; @use 'globals/notification'; @use 'globals/page'; diff --git a/pix-editor/app/styles/components/dropdown-menu.scss b/pix-editor/app/styles/components/dropdown-menu.scss new file mode 100644 index 000000000..bb1f36ed0 --- /dev/null +++ b/pix-editor/app/styles/components/dropdown-menu.scss @@ -0,0 +1,18 @@ +.dropdown { + position: relative; + display: inline-block; + + &-menu { + position: absolute; + right: 0; + top: 100%; + z-index: 10; + background: var(--pix-neutral-20); + border-radius: var(--pix-spacing-2x); + padding: var(--pix-spacing-2x); + + &--hidden { + display: none; + } + } +}