Skip to content

Commit b9bb2de

Browse files
liweitianboydc2014
andauthored
fix UX bug in setting page (#5306)
Co-authored-by: Dong Lei <[email protected]>
1 parent c8e6a75 commit b9bb2de

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

Composer/packages/client/src/pages/botProject/runtime-settings/RuntimeSettings.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ import {
3838
customerLabel,
3939
iconStyle,
4040
textOr,
41+
updateText,
4142
} from './style';
4243

4344
export const RuntimeSettings: React.FC<RouteComponentProps<{ projectId: string }>> = (props) => {
@@ -215,10 +216,9 @@ export const RuntimeSettings: React.FC<RouteComponentProps<{ projectId: string }
215216
onRenderLabel={onRenderLabel}
216217
/>
217218
</div>
218-
<br />
219219
{needsUpdate && (
220220
<div>
221-
<p>
221+
<p css={updateText}>
222222
{formatMessage(
223223
'A newer version of the provisioning scripts has been found, and this project can be updated to the latest.'
224224
)}

Composer/packages/client/src/pages/botProject/runtime-settings/style.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ export const runtimeSettingsStyle = css`
88
display: flex;
99
flex-direction: column;
1010
box-sizing: border-box;
11-
height: 200px;
1211
`;
1312

1413
export const runtimeControls = css`
@@ -71,3 +70,8 @@ export const iconStyle = (disabled) => {
7170
export const textOr = css`
7271
font-size: ${FontSizes.smallPlus};
7372
`;
73+
74+
export const updateText = css`
75+
font-size: ${FontSizes.smallPlus};
76+
color: ${NeutralColors.gray130};
77+
`;

0 commit comments

Comments
 (0)