refactor: remove unnecessary padding from lib component picker (#36073)

Library component picker and Problem bank picker iframe had unnecessary
padding resulting in multiple border/shadow in the modal.
This commit is contained in:
Navin Karkera
2025-01-10 21:00:58 +05:30
committed by GitHub
parent 5ae71873a3
commit e6ddd9c7c1
4 changed files with 20 additions and 13 deletions

View File

@@ -22,6 +22,7 @@ function($, _, gettext, BaseModal) {
// Translators: "title" is the name of the current component being edited.
titleFormat: gettext('Add library content'),
addPrimaryActionButton: false,
showEditorModeButtons: false,
}),
initialize: function() {

View File

@@ -17,6 +17,7 @@ function($, _, gettext, BaseModal) {
viewSpecificClasses: 'modal-add-component-picker confirm',
titleFormat: gettext('Add library content'),
addPrimaryActionButton: false,
showEditorModeButtons: false,
}),
events: {