From 8d101d35ace483149cb5636b16ff8c03787830f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pau=20Ferrer=20Oca=C3=B1a?= Date: Thu, 11 May 2023 13:21:01 +0200 Subject: [PATCH] MOBILE-4270 popover: Add ion-content to popovers to enable scrolling --- .../components/actionsmenu/actionsmenu.html | 21 +++-- .../discussion-options-menu.html | 80 +++++++++--------- .../post-options-menu/post-options-menu.html | 47 ++++++----- .../addon-mod-glossary-mode-picker.html | 14 ++-- .../addon-mod-wiki-subwiki-picker.html | 40 ++++----- .../core-context-menu-popover.html | 63 +++++++------- .../core-courses-course-options-menu.html | 82 ++++++++++--------- 7 files changed, 184 insertions(+), 163 deletions(-) diff --git a/src/addons/mod/data/components/actionsmenu/actionsmenu.html b/src/addons/mod/data/components/actionsmenu/actionsmenu.html index 177470dcd..242b68f1c 100644 --- a/src/addons/mod/data/components/actionsmenu/actionsmenu.html +++ b/src/addons/mod/data/components/actionsmenu/actionsmenu.html @@ -1,9 +1,12 @@ - - - -

{{ item.text | translate }}

-
- -
-
+ + + + +

{{ item.text | translate }}

+
+ +
+
+ +
diff --git a/src/addons/mod/forum/components/discussion-options-menu/discussion-options-menu.html b/src/addons/mod/forum/components/discussion-options-menu/discussion-options-menu.html index b609ed6f5..4736dcd70 100644 --- a/src/addons/mod/forum/components/discussion-options-menu/discussion-options-menu.html +++ b/src/addons/mod/forum/components/discussion-options-menu/discussion-options-menu.html @@ -1,38 +1,42 @@ - - - -

{{ 'addon.mod_forum.lockdiscussion' | translate }}

-
-
- - - -

{{ 'addon.mod_forum.unlockdiscussion' | translate }}

-
-
- - - -

{{ 'addon.mod_forum.pindiscussion' | translate }}

-
-
- - - -

{{ 'addon.mod_forum.unpindiscussion' | translate }}

-
-
- - - -

{{ 'addon.mod_forum.addtofavourites' | translate }}

-
-
- - - -

{{ 'addon.mod_forum.removefromfavourites' | translate }}

-
-
+ + + + + +

{{ 'addon.mod_forum.lockdiscussion' | translate }}

+
+
+ + + +

{{ 'addon.mod_forum.unlockdiscussion' | translate }}

+
+
+ + + +

{{ 'addon.mod_forum.pindiscussion' | translate }}

+
+
+ + + +

{{ 'addon.mod_forum.unpindiscussion' | translate }}

+
+
+ + + +

{{ 'addon.mod_forum.addtofavourites' | translate }}

+
+
+ + + +

{{ 'addon.mod_forum.removefromfavourites' | translate }}

+
+
+
+
diff --git a/src/addons/mod/forum/components/post-options-menu/post-options-menu.html b/src/addons/mod/forum/components/post-options-menu/post-options-menu.html index ffef01cb8..c4362e55f 100644 --- a/src/addons/mod/forum/components/post-options-menu/post-options-menu.html +++ b/src/addons/mod/forum/components/post-options-menu/post-options-menu.html @@ -1,21 +1,26 @@ - - - - -

{{ 'addon.mod_forum.edit' | translate }}

-
-
- - - -

{{ 'addon.mod_forum.delete' | translate }}

-

{{ 'core.discard' | translate }}

-
-
- - - -

{{ 'core.openinbrowser' | translate }}

-
-
-
+ + + + + + +

{{ 'addon.mod_forum.edit' | translate }}

+
+
+ + + +

{{ 'addon.mod_forum.delete' | translate }}

+

{{ 'core.discard' | translate }}

+
+
+ + + +

{{ 'core.openinbrowser' | translate }}

+
+
+
+
+
diff --git a/src/addons/mod/glossary/components/mode-picker/addon-mod-glossary-mode-picker.html b/src/addons/mod/glossary/components/mode-picker/addon-mod-glossary-mode-picker.html index 747140252..881d44938 100644 --- a/src/addons/mod/glossary/components/mode-picker/addon-mod-glossary-mode-picker.html +++ b/src/addons/mod/glossary/components/mode-picker/addon-mod-glossary-mode-picker.html @@ -1,6 +1,8 @@ - - - {{ mode.langkey | translate }} - - - + + + + {{ mode.langkey | translate }} + + + + diff --git a/src/addons/mod/wiki/components/subwiki-picker/addon-mod-wiki-subwiki-picker.html b/src/addons/mod/wiki/components/subwiki-picker/addon-mod-wiki-subwiki-picker.html index 7d7f5f0d0..4844903d8 100644 --- a/src/addons/mod/wiki/components/subwiki-picker/addon-mod-wiki-subwiki-picker.html +++ b/src/addons/mod/wiki/components/subwiki-picker/addon-mod-wiki-subwiki-picker.html @@ -1,19 +1,21 @@ - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + diff --git a/src/core/components/context-menu/core-context-menu-popover.html b/src/core/components/context-menu/core-context-menu-popover.html index c6cb35d5d..7ba6c7cd4 100644 --- a/src/core/components/context-menu/core-context-menu-popover.html +++ b/src/core/components/context-menu/core-context-menu-popover.html @@ -1,30 +1,33 @@ - - - {{title}} - - - -

- -

-
- - - - - - - - - {{item.badge}} - - {{ item.badgeA11yText | translate: {$a : item.badge } }} - - -
-
+ + + + {{title}} + + + +

+ +

+
+ + + + + + + + + {{item.badge}} + + {{ item.badgeA11yText | translate: {$a : item.badge } }} + + +
+
+
diff --git a/src/core/features/courses/components/course-options-menu/core-courses-course-options-menu.html b/src/core/features/courses/components/course-options-menu/core-courses-course-options-menu.html index bcd038c96..17633d581 100644 --- a/src/core/features/courses/components/course-options-menu/core-courses-course-options-menu.html +++ b/src/core/features/courses/components/course-options-menu/core-courses-course-options-menu.html @@ -1,40 +1,42 @@ - - - - - -

{{ prefetch.statusTranslatable | translate }}

-
-
- - - -

{{ 'addon.storagemanager.deletedata' | translate }}

-
-
- - - -

{{ 'core.courses.hidecourse' | translate }}

-
-
- - - -

{{ 'core.courses.show' | translate }}

-
-
- - - -

{{ 'core.courses.addtofavourites' | translate }}

-
-
- - - -

{{ 'core.courses.removefromfavourites' | translate }}

-
-
-
+ + + + + + +

{{ prefetch.statusTranslatable | translate }}

+
+
+ + + +

{{ 'addon.storagemanager.deletedata' | translate }}

+
+
+ + + +

{{ 'core.courses.hidecourse' | translate }}

+
+
+ + + +

{{ 'core.courses.show' | translate }}

+
+
+ + + +

{{ 'core.courses.addtofavourites' | translate }}

+
+
+ + + +

{{ 'core.courses.removefromfavourites' | translate }}

+
+
+
+