feat: refine credential controls and thinking alias layout
This commit is contained in:
1 parent
bbe22a96eb
commit
0b13b2de0c
2 files changed
+21
-28
No files matched your search
@@ -254,8 +254,7 @@ export function ThinkingAliasesPage() {
|
||||
</div>
|
||||
|
||||
<div className="thinking-alias-workbench">
|
||||
<div className="thinking-alias-left-stack">
|
||||
<section className="panel thinking-alias-builder">
|
||||
<section className="panel thinking-alias-editor-panel">
|
||||
<div className="thinking-alias-panel-heading">
|
||||
<span><GitFork size={18} /></span>
|
||||
<div>
|
||||
@@ -417,10 +416,9 @@ export function ThinkingAliasesPage() {
|
||||
<small>{t('aliases.customHelp')}</small>
|
||||
</div> : null}
|
||||
</div>
|
||||
</section>
|
||||
<div className="thinking-alias-section-divider" aria-hidden="true" />
|
||||
|
||||
<section className="panel thinking-alias-name-panel">
|
||||
<div className="thinking-alias-panel-heading">
|
||||
<div className="thinking-alias-panel-heading thinking-alias-secondary-heading">
|
||||
<span><BrainCircuit size={18} /></span>
|
||||
<div>
|
||||
<h2>{t('aliases.modelAlias.title')}</h2>
|
||||
@@ -462,8 +460,7 @@ export function ThinkingAliasesPage() {
|
||||
{busyAction === 'create' ? <LoaderCircle size={16} className="spin" /> : <GitFork size={16} />}
|
||||
{busyAction === 'create' ? t('aliases.creating') : t('aliases.create')}
|
||||
</button>
|
||||
</section>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section className="panel thinking-alias-list-panel">
|
||||
<div className="thinking-alias-list-heading">
|
||||
|
||||
+17
-21
@@ -3457,30 +3457,16 @@ input:focus-visible {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(480px, 1.4fr) minmax(320px, 0.6fr);
|
||||
gap: 16px;
|
||||
align-items: start;
|
||||
}
|
||||
|
||||
.thinking-alias-left-stack {
|
||||
display: grid;
|
||||
min-width: 0;
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
.thinking-alias-builder {
|
||||
min-height: 330px;
|
||||
}
|
||||
|
||||
.thinking-alias-name-panel {
|
||||
min-height: 250px;
|
||||
align-items: stretch;
|
||||
}
|
||||
|
||||
.thinking-alias-editor-panel,
|
||||
.thinking-alias-list-panel {
|
||||
height: clamp(360px, calc(100vh - 330px), 460px);
|
||||
min-height: 360px;
|
||||
height: clamp(600px, calc(100vh - 250px), 720px);
|
||||
min-height: 600px;
|
||||
}
|
||||
|
||||
.thinking-alias-builder,
|
||||
.thinking-alias-name-panel {
|
||||
.thinking-alias-editor-panel {
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
display: flex;
|
||||
@@ -3490,6 +3476,17 @@ input:focus-visible {
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
.thinking-alias-section-divider {
|
||||
height: 1px;
|
||||
flex: none;
|
||||
margin: 2px 0;
|
||||
background: var(--theme-e3e1db);
|
||||
}
|
||||
|
||||
.thinking-alias-secondary-heading {
|
||||
padding-top: 2px;
|
||||
}
|
||||
|
||||
.thinking-alias-panel-heading {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
@@ -6879,8 +6876,7 @@ input:focus-visible {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.thinking-alias-builder,
|
||||
.thinking-alias-name-panel,
|
||||
.thinking-alias-editor-panel,
|
||||
.thinking-alias-list-panel {
|
||||
height: auto;
|
||||
min-height: 0;
|
||||
|
||||
Reference in new issue
Block a user