Skip to content

Commit

Permalink
Fix minor UI issues
Browse files Browse the repository at this point in the history
Remove required tag from token input fields
Change info icon color
  • Loading branch information
SavinduDimal committed Oct 9, 2024
1 parent b724a89 commit 038e531
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -967,7 +967,6 @@ function AddEdit(props) {
value={totalTokenCount}
type='number'
onChange={onChange}
required
InputProps={{
id: 'totalTokenCount',
onBlur: ({ target: { value } }) => {
Expand Down Expand Up @@ -1000,7 +999,6 @@ function AddEdit(props) {
value={promptTokenCount}
type='number'
onChange={onChange}
required
InputProps={{
id: 'promptTokenCount',
onBlur: ({ target: { value } }) => {
Expand Down Expand Up @@ -1033,7 +1031,6 @@ function AddEdit(props) {
value={completionTokenCount}
type='number'
onChange={onChange}
required
InputProps={{
id: 'completionTokenCount',
onBlur: ({ target: { value } }) => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -237,8 +237,11 @@ class SubscriptionPoliciesManage extends Component {
label={
<div style={{ display: 'flex', alignItems: 'center' }}>
{value[1].displayName + ' : ' + value[1].description}
<Tooltip title={getPolicyDetails(value[1])} arrow>
<InfoIcon style={{ marginLeft: 5, fontSize: 18 }} />
<Tooltip title={getPolicyDetails(value[1])}>
<InfoIcon
color='action'
style={{ marginLeft: 5, fontSize: 20, cursor: 'default' }}
/>
</Tooltip>
</div>
}
Expand Down

0 comments on commit 038e531

Please sign in to comment.