apply style to page-outer
This commit is contained in:
@@ -1,5 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<div :class="['sm-page-outer', { 'sm-no-breadcrumbs': noBreadcrumbs }]">
|
<div
|
||||||
|
:class="['sm-page-outer', { 'sm-no-breadcrumbs': noBreadcrumbs }]"
|
||||||
|
:style="styleObject">
|
||||||
<SMBreadcrumbs v-if="!noBreadcrumbs" />
|
<SMBreadcrumbs v-if="!noBreadcrumbs" />
|
||||||
<SMLoader :loading="loading">
|
<SMLoader :loading="loading">
|
||||||
<SMErrorForbidden
|
<SMErrorForbidden
|
||||||
@@ -8,10 +10,7 @@
|
|||||||
v-if="pageError >= 500 && hasPermission()"></SMErrorInternal>
|
v-if="pageError >= 500 && hasPermission()"></SMErrorInternal>
|
||||||
<SMErrorNotFound
|
<SMErrorNotFound
|
||||||
v-if="pageError == 404 && hasPermission()"></SMErrorNotFound>
|
v-if="pageError == 404 && hasPermission()"></SMErrorNotFound>
|
||||||
<div
|
<div v-if="pageError < 300 && hasPermission()" class="sm-page">
|
||||||
v-if="pageError < 300 && hasPermission()"
|
|
||||||
class="sm-page"
|
|
||||||
:style="styleObject">
|
|
||||||
<slot></slot>
|
<slot></slot>
|
||||||
<SMContainer v-if="slots.container"
|
<SMContainer v-if="slots.container"
|
||||||
><slot name="container"></slot
|
><slot name="container"></slot
|
||||||
|
|||||||
Reference in New Issue
Block a user