@chenkai114/dsh-team-admin 0.1.2 → 0.1.3
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/package.json +1 -1
- package/src/client.js +11 -3
- package/src/index.js +1 -1
package/package.json
CHANGED
package/src/client.js
CHANGED
|
@@ -104,9 +104,17 @@
|
|
|
104
104
|
.ta-confirm__actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
|
|
105
105
|
.ta-summary{font-size:12px;color:var(--ta-text-sub);line-height:1.5}
|
|
106
106
|
.ta-host{display:block;min-width:0}
|
|
107
|
-
|
|
108
|
-
.ta-
|
|
109
|
-
|
|
107
|
+
/* 整页面板:宿主 main 槽是 flex column,这里把卡片与左右两栏一路撑满,滚动只发生在内部列表 */
|
|
108
|
+
.ta-main{display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden;padding:18px;background:var(--dsw-alias-bg-base)}
|
|
109
|
+
.ta-main__inner{display:flex;flex-direction:column;flex:1;min-height:0;width:100%;min-width:0}
|
|
110
|
+
.ta-main .ta-host{display:flex;flex-direction:column;flex:1;min-height:0}
|
|
111
|
+
.ta-main .ta-root{flex:1;min-height:0}
|
|
112
|
+
.ta-main .ta-body{flex:1;min-height:0;grid-template-rows:minmax(0,1fr);align-items:stretch}
|
|
113
|
+
.ta-main .ta-col{min-height:0}
|
|
114
|
+
.ta-main .ta-list-host{display:flex;flex-direction:column;flex:1;min-height:0}
|
|
115
|
+
.ta-main .ta-sessions{flex:1;min-height:0;max-height:none}
|
|
116
|
+
.ta-main .ta-col--detail{overflow:auto;padding-right:2px}
|
|
117
|
+
@media (max-width:760px){.ta-body{grid-template-columns:1fr}.ta-col--list{padding-right:0;padding-bottom:10px;border-right:0;border-bottom:1px solid var(--ta-border)}.ta-sessions{max-height:220px}.ta-main .ta-body{grid-template-rows:minmax(0,1fr) minmax(0,1fr)}}
|
|
110
118
|
@media (prefers-reduced-motion:reduce){.ta-btn{transition:none}}
|
|
111
119
|
`
|
|
112
120
|
|
package/src/index.js
CHANGED
|
@@ -17,7 +17,7 @@ const DATA_DIR_ENV = 'DSH_TEAM_ADMIN_DATA_DIR'
|
|
|
17
17
|
/** 路由前缀:webServer 只支持 exact/prefix 注册。 */
|
|
18
18
|
const ROUTE_PREFIX = '/api/team-admin'
|
|
19
19
|
/** 与 package.json 版本保持一致(发布前由测试校验)。 */
|
|
20
|
-
const PLUGIN_VERSION = '0.1.
|
|
20
|
+
const PLUGIN_VERSION = '0.1.3'
|
|
21
21
|
|
|
22
22
|
/**
|
|
23
23
|
* 解析插件数据目录。
|