Skip to content

Commit

Permalink
progress
Browse files Browse the repository at this point in the history
  • Loading branch information
BeepBeepBopBop committed Jan 23, 2025
1 parent 1393220 commit ccf4183
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
3 changes: 3 additions & 0 deletions LM-Kit-Maestro/UI/Razor/Components/ChatSettings.razor
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
</MudText>

<MudTextField Class="setting-field"
Margin="Margin.Dense"
Variant="Variant.Outlined"
Value="ViewModel.MaximumCompletionTokens"/>
</div>
Expand All @@ -35,6 +36,7 @@
</MudText>

<MudTextField Class="setting-field"
Margin="Margin.Dense"
Variant="Variant.Outlined"
Value="@ViewModel.RequestTimeout"/>
</div>
Expand All @@ -51,6 +53,7 @@
</MudText>

<MudTextField Class="setting-field"
Margin="Margin.Dense"
Value="ViewModel.ContextSize"
Variant="Variant.Outlined"/>
</div>
Expand Down
13 changes: 10 additions & 3 deletions LM-Kit-Maestro/UI/Razor/Components/ChatSettings.razor.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,24 @@
display: flex;
flex-direction: column;
gap: 10px;
vertical-align: center;
}

.flex-row{
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
}

::deep .setting-field {
min-width: 60px !important;
max-width: 60px !important;
max-width: 64px !important;
min-width: 64px !important;
}

::deep .setting-field .mud-input-root {
text-align: right !important;
padding-inline: 8px !important;
padding-block: 8px !important;
/*padding-block-start: 0 !important;*/
/*padding-block-end: 0 !important;*/
}

0 comments on commit ccf4183

Please sign in to comment.