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/ConsoleLegalFooter.vue、app/layouts/default.vue、app/layouts/public-order.vue。 */
.console-legal-footer[data-v-81b185f4] {
border-top: 1px solid var(--console-panel-border, #e2e8f0);
color: var(--p-text-muted-color, #64748b);
@@ -15,11 +17,13 @@
padding: 18px 14px 22px;
display: flex;
}
/* 允许连续长文本换行,防止IP、密钥或用户输入撑破当前容器;不会修改原始数据。 */
.legal-footer-inner[data-v-81b185f4] > * {
overflow-wrap: anywhere;
min-width: 0;
max-width: 100%;
}
/* 打印介质覆盖:独立处理纸张上的显隐和排版,不直接沿用屏幕布局。 */
@media print {
.console-legal-footer[data-v-81b185f4] {
display: none;
@@ -35,11 +39,13 @@
text-underline-offset: 3px;
text-decoration: underline;
}
/* 视口条件 (width<=1023px) 下的响应式覆盖;保留相对基础规则的层叠顺序。 */
@media (width<=1023px) {
.main:has(.config-mobile-total) .console-legal-footer {
margin-bottom: calc(84px + env(safe-area-inset-bottom, 0px));
}
}
/* 视口条件 (width<=640px) 下的响应式覆盖;保留相对基础规则的层叠顺序。 */
@media (width<=640px) {
.legal-footer-inner[data-v-81b185f4] {
flex-direction: column;