Fix Responsive
This commit is contained in:
@@ -167,8 +167,8 @@ const CLASS_FOR_SECTION = computed(() => {
|
|||||||
case enumPageSectionLayouts[enumPageSectionTemplate[enumPageSectionKey.NONE]["NONE"]]["VERTICAL_LEFT_TWO"]:
|
case enumPageSectionLayouts[enumPageSectionTemplate[enumPageSectionKey.NONE]["NONE"]]["VERTICAL_LEFT_TWO"]:
|
||||||
_classForSection = {
|
_classForSection = {
|
||||||
section_layout: "section_layout twelve_col_layout",
|
section_layout: "section_layout twelve_col_layout",
|
||||||
0: "sm:col-span-8 col-span-12",
|
0: "md:col-span-8 col-span-12",
|
||||||
1: "sm:col-span-4 col-span-12",
|
1: "md:col-span-4 col-span-12",
|
||||||
};
|
};
|
||||||
break;
|
break;
|
||||||
case enumPageSectionLayouts[enumPageSectionTemplate[enumPageSectionKey.NONE]["NONE"]]["VERTICAL_RIGHT_TWO"]:
|
case enumPageSectionLayouts[enumPageSectionTemplate[enumPageSectionKey.NONE]["NONE"]]["VERTICAL_RIGHT_TWO"]:
|
||||||
@@ -307,6 +307,7 @@ const mapActivesToItems = (index: number) => {
|
|||||||
>
|
>
|
||||||
<RecusiveSection :type="position.type" :id="position.data" :section="props.section" />
|
<RecusiveSection :type="position.type" :id="position.data" :section="props.section" />
|
||||||
</div>
|
</div>
|
||||||
|
<div v-if="LAYOUT_PARSE['div.background']?.includes('display:block;')" class="attributeBackground" :style="LAYOUT_PARSE['div.background']"></div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -320,6 +321,15 @@ const mapActivesToItems = (index: number) => {
|
|||||||
display: grid;
|
display: grid;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
|
.attributeBackground {
|
||||||
|
position: absolute;
|
||||||
|
height: 100%;
|
||||||
|
z-index: 0;
|
||||||
|
display: none;
|
||||||
|
left: -50vw;
|
||||||
|
width: 150vw;
|
||||||
|
}
|
||||||
|
|
||||||
.section_child {
|
.section_child {
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -33,6 +33,7 @@ const GET_PROPS = computed(() => {
|
|||||||
|
|
||||||
<template>
|
<template>
|
||||||
<component
|
<component
|
||||||
|
class="overflow-x-hidden"
|
||||||
v-if="definedDynamicPage[getCurrentTemplate]"
|
v-if="definedDynamicPage[getCurrentTemplate]"
|
||||||
:is="definedDynamicPage[getCurrentTemplate]"
|
:is="definedDynamicPage[getCurrentTemplate]"
|
||||||
v-bind="{...(GET_PROPS()), settings: _props.settings}"
|
v-bind="{...(GET_PROPS()), settings: _props.settings}"
|
||||||
|
|||||||
Reference in New Issue
Block a user