Skip to content

Commit 9b26ffd

Browse files
committed
Info modal fixes
- fixes modal not appearing on help icon click - uses button to make icon part of keyboard navigation
1 parent bf89efa commit 9b26ffd

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

contentcuration/contentcuration/frontend/settings/pages/Storage/RequestForm.vue

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,11 @@
6363
<!-- Who can use content -->
6464
<h3>
6565
{{ $tr('whoCanUseContentLabel') }}
66-
<InfoModal :header="$tr('licenseInfoHeader')" :items="licenseOptions">
66+
<InfoModal
67+
:header="$tr('licenseInfoHeader')"
68+
:items="licenseOptions"
69+
:style="{ position: 'relative', top: '5px' }"
70+
>
6771
<template #header="{ item }">
6872
{{ translateConstant(item.license_name) }}
6973
</template>

contentcuration/contentcuration/frontend/shared/views/InfoModal.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
<template>
22

33
<div :style="{ display: 'inline' }">
4-
<Icon
4+
<KIconButton
55
icon="help"
6+
size="mini"
67
:color="$themeTokens.primary"
78
data-test="info-icon"
89
@click="displayDialog = !displayDialog"

0 commit comments

Comments
 (0)