Skip to content

Commit

Permalink
Add margin top to topic warning.
Browse files Browse the repository at this point in the history
Make string parameterized in case of changes.
  • Loading branch information
rtibbles committed Jun 14, 2024
1 parent bb79093 commit 9b23123
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,14 @@
<div
v-if="showTopicSizeWarning"
class="shadow"
:style=" { padding: '1em', marginBottom: '1em', backgroundColor: $themePalette.grey.v_100 }"
:style=" {
padding: '1em',
marginTop: '1em',
marginBottom: '1em',
backgroundColor: $themePalette.grey.v_100,
}"
>
{{ cannotSelectSomeTopicWarning$() }}
{{ cannotSelectSomeTopicWarning$({ count: 12 }) }}
</div>

<ResourceSelectionBreadcrumbs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ export const enhancedQuizManagementStrings = createTranslator('EnhancedQuizManag
},
cannotSelectSomeTopicWarning: {
message:
'You can only select folders with 12 or less exercises and no subfolders to avoid oversized quizzes.',
'You can only select folders with { count, number } or less exercises and no subfolders to avoid oversized quizzes.',
},
changesSavedSuccessfully: {
message: 'Changes saved successfully',
Expand Down

0 comments on commit 9b23123

Please sign in to comment.