diff --git a/src/addon/mod/data/components/index/addon-mod-data-index.html b/src/addon/mod/data/components/index/addon-mod-data-index.html index c195f2b41..e44f6bcba 100644 --- a/src/addon/mod/data/components/index/addon-mod-data-index.html +++ b/src/addon/mod/data/components/index/addon-mod-data-index.html @@ -86,7 +86,7 @@ - + {{ 'addon.mod_data.resetsettings' | translate}} diff --git a/src/addon/mod/forum/components/index/addon-mod-forum-index.html b/src/addon/mod/forum/components/index/addon-mod-forum-index.html index f89d71c79..981e01d02 100644 --- a/src/addon/mod/forum/components/index/addon-mod-forum-index.html +++ b/src/addon/mod/forum/components/index/addon-mod-forum-index.html @@ -76,7 +76,7 @@ - + {{ 'addon.mod_forum.addanewdiscussion' | translate }} diff --git a/src/components/empty-box/empty-box.scss b/src/components/empty-box/empty-box.scss index d348eb6d1..4eb024d88 100644 --- a/src/components/empty-box/empty-box.scss +++ b/src/components/empty-box/empty-box.scss @@ -40,6 +40,10 @@ ion-app.app-root core-empty-box { } } + &.core-empty-box-clickable .core-empty-box { + z-index: 0; + } + @media (max-width: 350px) { .core-empty-box { position: relative; diff --git a/src/components/empty-box/empty-box.ts b/src/components/empty-box/empty-box.ts index 0d9fdd7ec..827cde39a 100644 --- a/src/components/empty-box/empty-box.ts +++ b/src/components/empty-box/empty-box.ts @@ -17,6 +17,8 @@ import { Component, Input } from '@angular/core'; /** * Component to show an empty box message. It will show an optional icon or image and a text centered on page. * + * Use class="core-empty-box-clickable" if you want to add some clickable elements to the box. + * * Usage: * */