mirror of
https://github.com/router-for-me/Cli-Proxy-API-Management-Center.git
synced 2026-02-19 03:00:49 +08:00
fix(ai-providers): 统一 OpenAI key 表头与内容居中对齐
This commit is contained in:
@@ -647,7 +647,7 @@
|
|||||||
// 表头
|
// 表头
|
||||||
.keyTableHeader {
|
.keyTableHeader {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: 46px 56px minmax(220px, 1.4fr) minmax(200px, 1.1fr) auto;
|
grid-template-columns: 46px 56px minmax(220px, 1.4fr) minmax(200px, 1.1fr) 180px;
|
||||||
gap: $spacing-sm;
|
gap: $spacing-sm;
|
||||||
min-width: 760px;
|
min-width: 760px;
|
||||||
padding: 10px $spacing-md;
|
padding: 10px $spacing-md;
|
||||||
@@ -659,12 +659,14 @@
|
|||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
color: var(--text-secondary);
|
color: var(--text-secondary);
|
||||||
text-transform: none;
|
text-transform: none;
|
||||||
|
align-items: center;
|
||||||
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
// 数据行
|
// 数据行
|
||||||
.keyTableRow {
|
.keyTableRow {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: 46px 56px minmax(220px, 1.4fr) minmax(200px, 1.1fr) auto;
|
grid-template-columns: 46px 56px minmax(220px, 1.4fr) minmax(200px, 1.1fr) 180px;
|
||||||
gap: $spacing-sm;
|
gap: $spacing-sm;
|
||||||
min-width: 760px;
|
min-width: 760px;
|
||||||
padding: 10px $spacing-md;
|
padding: 10px $spacing-md;
|
||||||
@@ -704,12 +706,15 @@
|
|||||||
.keyTableColKey,
|
.keyTableColKey,
|
||||||
.keyTableColProxy {
|
.keyTableColProxy {
|
||||||
min-width: 0;
|
min-width: 0;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.keyTableColAction {
|
.keyTableColAction {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: flex-end;
|
justify-content: center;
|
||||||
gap: $spacing-xs;
|
gap: $spacing-xs;
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
@@ -720,6 +725,7 @@
|
|||||||
padding: 8px 10px;
|
padding: 8px 10px;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
min-height: 38px;
|
min-height: 38px;
|
||||||
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.addKeyButton {
|
.addKeyButton {
|
||||||
|
|||||||
Reference in New Issue
Block a user