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/SensitiveValue.vue、app/pages/account/index.vue、app/pages/index.vue。 */
.sensitive-value[data-v-07008ebf] {
vertical-align: middle;
align-items: center;
@@ -6,6 +8,7 @@
max-width: 100%;
display: inline-flex;
}
/* 允许连续长文本换行,防止IP、密钥或用户输入撑破当前容器;不会修改原始数据。 */
.sensitive-value-text[data-v-07008ebf] {
overflow-wrap: anywhere;
min-width: 0;
@@ -29,6 +32,7 @@
color: var(--p-primary-color);
background: var(--p-content-hover-background);
}
/* 键盘操作的可见焦点:不要只保留鼠标 hover 效果而移除此反馈。 */
.sensitive-value-toggle[data-v-07008ebf]:focus-visible {
outline: 2px solid var(--p-primary-color);
outline-offset: 2px;