thainv-dev: responsive

This commit is contained in:
nguyen van thai
2024-05-30 22:42:55 +07:00
parent b52352660d
commit dd09434deb
4 changed files with 12 additions and 11 deletions
@@ -8,13 +8,13 @@ const CLASS_FOR_LAYOUT = computed(() => {
switch (props.layout) {
case 'Full_Page':
_classForLayout = {
page_container: 'page_container w-full',
page_container: 'page_container w-full px-2',
layout_container: 'layout_container px-5',
};
break;
case 'Center_Page':
_classForLayout = {
page_container: 'page_container w-full',
page_container: 'page_container w-full px-2',
layout_container: 'layout_container container mx-auto',
};
break;
@@ -26,7 +26,7 @@ const CLASS_FOR_LAYOUT = computed(() => {
break;
default:
_classForLayout = {
page_container: 'page_container',
page_container: 'page_container px-2',
layout_container: 'layout_container',
};
break;