mirror of
https://github.com/dromara/hertzbeat.git
synced 2026-09-17 09:40:58 +00:00
[fix] fixed issue with the token management style (#4083)
This commit is contained in:
+1
-12
@@ -124,18 +124,7 @@
|
|||||||
{{ 'common.button.copy' | i18n }}
|
{{ 'common.button.copy' | i18n }}
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div class="token-display">
|
||||||
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;
|
|
||||||
"
|
|
||||||
>
|
|
||||||
{{ generatedToken }}
|
{{ generatedToken }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -151,3 +151,21 @@ html {
|
|||||||
[data-theme='dark'] ::-webkit-scrollbar-thumb:hover {
|
[data-theme='dark'] ::-webkit-scrollbar-thumb:hover {
|
||||||
background: rgba(255, 255, 255, 0.3);
|
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);
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user