diff --git a/packages/standard-objects/cms_files/pages/preview.page.amis.json b/packages/standard-objects/cms_files/pages/preview.page.amis.json index 2dae00aad1..6d35803f77 100644 --- a/packages/standard-objects/cms_files/pages/preview.page.amis.json +++ b/packages/standard-objects/cms_files/pages/preview.page.amis.json @@ -10,7 +10,7 @@ }, { "type": "tabs", - "className": "steedos-record-tabs bg-white p-4 m-2 border rounded", + "className": "steedos-record-tabs bg-white p-4 sm:m-2 sm:border sm:rounded", "tabs": [ { "title": "预览", diff --git a/services/service-plugin-amis/main/default/services/utils/page-schema.js b/services/service-plugin-amis/main/default/services/utils/page-schema.js index 64eb9d6c59..31bf4c8104 100644 --- a/services/service-plugin-amis/main/default/services/utils/page-schema.js +++ b/services/service-plugin-amis/main/default/services/utils/page-schema.js @@ -88,7 +88,7 @@ const getRecordPageInitSchema = async function (objectApiName, userSession) { } const content = { "type": "tabs", - "className": "steedos-record-tabs bg-white p-4 m-2 border rounded", + "className": "steedos-record-tabs bg-white p-4 sm:m-2 sm:border sm:rounded", "tabs": [ detailed ]