diff --git a/web/src/pages/user-setting/setting-model/index.less b/web/src/pages/user-setting/setting-model/index.less index c9a1f5f7a25..d55dee992dc 100644 --- a/web/src/pages/user-setting/setting-model/index.less +++ b/web/src/pages/user-setting/setting-model/index.less @@ -17,6 +17,9 @@ border: 1px solid #eaecf0; background: #e3f0ff; box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05); + :global(.ant-card-body) { + padding: 10px 24px; + } } .addedCard { border-radius: 18px; @@ -24,4 +27,12 @@ background: #e6e7eb; box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05); } + .modelDivider { + margin: 0; + } + .modelTags { + height: 40px; + overflow: hidden; + font-size: 8px; + } } diff --git a/web/src/pages/user-setting/setting-model/index.tsx b/web/src/pages/user-setting/setting-model/index.tsx index 45455df42f6..235ee66e3f8 100644 --- a/web/src/pages/user-setting/setting-model/index.tsx +++ b/web/src/pages/user-setting/setting-model/index.tsx @@ -286,20 +286,22 @@ const UserSettingModel = () => { md: 3, lg: 4, xl: 4, - xxl: 8, + xxl: 10, }} dataSource={factoryList} renderItem={(item) => ( - + - {item.name} - {item.tags} + + {item.name} + + {item.tags} - +