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 @@
/* 旧版独立服务器概览:资源卡片、流量、IP和详细资料。 */
/* 导入方:app/components/instance/LegacyDcimManage.vue。 */
.legacy-dcim-manage[data-v-f40d7201] {
min-width: 0;
}
@@ -71,6 +73,7 @@
color: var(--p-text-muted-color);
flex-shrink: 0;
}
/* 允许连续长文本换行,防止IP、密钥或用户输入撑破当前容器;不会修改原始数据。 */
.compact-rows dd[data-v-f40d7201] {
overflow-wrap: anywhere;
text-align: right;
@@ -104,6 +107,7 @@
color: var(--p-text-muted-color);
flex-shrink: 0;
}
/* 允许连续长文本换行,防止IP、密钥或用户输入撑破当前容器;不会修改原始数据。 */
.resource-list dd[data-v-f40d7201] {
overflow-wrap: anywhere;
text-align: right;
@@ -192,6 +196,7 @@
.mono[data-v-f40d7201] {
font-family: var(--font-mono, monospace);
}
/* 视口条件 (width<=1199px) 下的响应式覆盖;保留相对基础规则的层叠顺序。 */
@media (width<=1199px) {
.overview[data-v-f40d7201],
.stack[data-v-f40d7201] {
@@ -204,6 +209,7 @@
padding: 10px;
}
}
/* 视口条件 (width<=950px) 下的响应式覆盖;保留相对基础规则的层叠顺序。 */
@media (width<=950px) {
.overview[data-v-f40d7201] {
grid-template-columns: repeat(2, minmax(0, 1fr));
@@ -214,6 +220,7 @@
display: grid;
}
}
/* 视口条件 (width<=600px) 下的响应式覆盖;保留相对基础规则的层叠顺序。 */
@media (width<=600px) {
.overview[data-v-f40d7201] {
grid-template-columns: 1fr;