docs: explain stylesheet ownership, responsive rules and display boundaries

This commit is contained in:
cieanyau committed 2026-11-06 00:38:23 +08:00
1 parent 145d04e9db
commit 9eadc36b62
140 files changed
+568 -3

No files matched your search

@@ -1,3 +1,5 @@
/* 实例流量详情:汇总数据、恢复操作与流量表格。 */
/* 导入方:app/components/instance/InstanceManage.vue、app/components/instance/InstanceNetwork.vue、app/components/instance/InstanceOverview.vue、app/components/instance/InstanceTraffic.vue。 */
.traffic-summary[data-v-484c7b21] {
flex-direction: column;
gap: 12px;
@@ -18,6 +20,7 @@
.traffic-row > span[data-v-484c7b21] {
flex-shrink: 0;
}
/* 允许连续长文本换行,防止IP、密钥或用户输入撑破当前容器;不会修改原始数据。 */
.traffic-row > b[data-v-484c7b21] {
overflow-wrap: anywhere;
text-align: right;
@@ -62,6 +65,7 @@
min-height: 49px;
display: grid;
}
/* 允许连续长文本换行,防止IP、密钥或用户输入撑破当前容器;不会修改原始数据。 */
.traffic-table .traffic-row[data-v-484c7b21] > * {
overflow-wrap: anywhere;
min-width: 0;
@@ -86,6 +90,7 @@
.traffic-table .traffic-error[data-v-484c7b21] {
flex-wrap: wrap;
}
/* 视口条件 (width<=767px) 下的响应式覆盖;保留相对基础规则的层叠顺序。 */
@media (width<=767px) {
.traffic-table .traffic-row[data-v-484c7b21] {
grid-template-columns: 100px minmax(0, 1fr);