pb-sxp-ui 1.0.44 → 1.0.45

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.css CHANGED
@@ -1293,20 +1293,28 @@ button.swiper-pagination-bullet {
1293
1293
  overflow-x: auto;
1294
1294
  padding: 0 12px;
1295
1295
  text-align: center;
1296
+ height: 45px;
1296
1297
  }
1297
1298
  .clc-sxp-tagbar-list {
1298
- display: -webkit-inline-box;
1299
- display: -webkit-inline-flex;
1300
- display: -ms-inline-flexbox;
1301
- display: inline-flex;
1299
+ padding: 0;
1300
+ margin: 0;
1301
+ display: -webkit-box;
1302
+ display: -webkit-flex;
1303
+ display: -ms-flexbox;
1304
+ display: flex;
1302
1305
  -webkit-box-align: center;
1303
1306
  -webkit-align-items: center;
1304
1307
  -ms-flex-align: center;
1305
1308
  align-items: center;
1309
+ -webkit-box-pack: center;
1310
+ -webkit-justify-content: center;
1311
+ -ms-flex-pack: center;
1312
+ justify-content: center;
1306
1313
  -webkit-flex-wrap: nowrap;
1307
1314
  -ms-flex-wrap: nowrap;
1308
1315
  flex-wrap: nowrap;
1309
1316
  height: 100%;
1317
+ list-style: none;
1310
1318
  }
1311
1319
  .clc-sxp-tagbar-list-item {
1312
1320
  cursor: pointer;
package/dist/index.js CHANGED
@@ -12614,7 +12614,7 @@ const Tagbar = ({ tagList = [], setActiveIndex }) => {
12614
12614
  };
12615
12615
  if (tagList.length <= 0)
12616
12616
  return null;
12617
- return (React.createElement("div", { className: 'clc-sxp-tagbar', style: { height: 45 } },
12617
+ return (React.createElement("div", { className: 'clc-sxp-tagbar' },
12618
12618
  React.createElement("ul", { className: 'clc-sxp-tagbar-list', style: { margin: 'auto', gap: 24 } }, realTagList.map((tag) => {
12619
12619
  return (React.createElement("li", { className: `clc-sxp-tagbar-list-item ${tag === selectTag ? 'clc-sxp-tagbar-list-item-active' : ''}`, key: tag, onClick: handleSelectTag(tag) }, tag));
12620
12620
  }))));
@@ -12625,7 +12625,7 @@ var Tagbar$1 = memo(Tagbar);
12625
12625
  * @Author: binruan@chatlabs.com
12626
12626
  * @Date: 2024-01-15 19:03:09
12627
12627
  * @LastEditors: binruan@chatlabs.com
12628
- * @LastEditTime: 2024-04-29 16:33:53
12628
+ * @LastEditTime: 2024-04-29 16:55:16
12629
12629
  * @FilePath: \pb-sxp-ui\src\core\components\SxpPageRender\index.tsx
12630
12630
  *
12631
12631
  */