[fix] fixed issue with the token management style (#4083)

This commit is contained in:
Duansg
2026-03-22 11:23:13 +08:00
committed by GitHub
parent 3e6a7962f6
commit affccb7fb7
2 changed files with 19 additions and 12 deletions
@@ -124,18 +124,7 @@
{{ 'common.button.copy' | i18n }}
</button>
</div>
<div
style="
padding: 12px;
border: 1px solid #d9d9d9;
border-radius: 4px;
word-wrap: break-word;
word-break: break-all;
font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
font-size: 13px;
background: #fafafa;
"
>
<div class="token-display">
{{ generatedToken }}
</div>
</div>
+18
View File
@@ -151,3 +151,21 @@ html {
[data-theme='dark'] ::-webkit-scrollbar-thumb:hover {
background: rgba(255, 255, 255, 0.3);
}
/* Token display styling in modal */
.token-display {
padding: 12px;
border: 1px solid #d9d9d9;
border-radius: 4px;
word-wrap: break-word;
word-break: break-all;
font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
font-size: 13px;
background: #fafafa;
}
[data-theme='dark'] .token-display {
background: #1f1f1f;
border-color: #434343;
color: rgba(255, 255, 255, 0.85);
}