web/admin: fix display of banners on provider pages

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-11-26 20:48:06 +01:00
parent 629a0e1a4d
commit 813c13ce45
5 changed files with 5 additions and 9 deletions

View File

@ -70,11 +70,7 @@ export class ProviderViewPage extends LitElement {
>
</ak-page-header>
<ak-tabs>
<section
slot="page-overview"
data-tab-title="${t`Overview`}"
class="pf-c-page__main-section pf-m-no-padding-mobile"
>
<section slot="page-overview" data-tab-title="${t`Overview`}">
${this.renderProvider()}
</section>
<section

View File

@ -93,7 +93,7 @@ export class LDAPProviderViewPage extends LitElement {
</div>`
: html``
}
<div class="pf-l-grid pf-m-gutter">
<div class="pf-c-page__main-section pf-m-no-padding-mobile pf-l-grid pf-m-gutter">
<div class="pf-c-card pf-l-grid__item pf-m-12-col">
<div class="pf-c-card__body">
<dl class="pf-c-description-list pf-m-3-col-on-lg">

View File

@ -86,7 +86,7 @@ export class OAuth2ProviderViewPage extends LitElement {
${t`Warning: Provider is not used by an Application.`}
</div>`
}
<div class="pf-l-grid pf-m-gutter">
<div class="pf-c-page__main-section pf-m-no-padding-mobile pf-l-grid pf-m-gutter">
<div class="pf-c-card pf-l-grid__item pf-m-12-col">
<div class="pf-c-card">
<div class="pf-c-card__body">

View File

@ -112,7 +112,7 @@ export class ProxyProviderViewPage extends LitElement {
${t`Warning: Provider is not used by any Outpost.`}
</div>`
: html``}
<div class="pf-l-grid pf-m-gutter">
<div class="pf-c-page__main-section pf-m-no-padding-mobile pf-l-grid pf-m-gutter">
<div class="pf-c-card pf-l-grid__item pf-m-12-col">
<div class="pf-c-card__body">
<dl class="pf-c-description-list pf-m-3-col-on-lg">

View File

@ -106,7 +106,7 @@ export class SAMLProviderViewPage extends LitElement {
${t`Warning: Provider is not used by an Application.`}
</div>`
}
<div class="pf-l-grid pf-m-gutter">
<div class="pf-c-page__main-section pf-m-no-padding-mobile pf-l-grid pf-m-gutter">
<div class="pf-c-card pf-l-grid__item pf-m-12-col">
<div class="pf-c-card__body">
<dl class="pf-c-description-list pf-m-3-col-on-lg">