Skip to content

Commit

Permalink
Merge branch 'toanzian/update-ui' of https://github.com/Microsoft/Bot…
Browse files Browse the repository at this point in the history
…Framework-Emulator into toanzian/update-ui
  • Loading branch information
tonyanziano committed Nov 19, 2018
2 parents 49f1a67 + 11cc410 commit d5bc936
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,14 @@
}

.multi-input-row {
width: 420px;
justify-content: space-between;
}

.small-input input {
width: 200px;
.input-container {
width: 100%;
& + div {
margin-left: 8px;
}
}

.bot-create-form {
Expand Down Expand Up @@ -53,21 +55,20 @@
.key {
width: 175px;
margin: 16px 145px 0 32px;
> label[aria-disabled] {
color: initial;
}
}

.encrypt-key-check-box {
margin-top: 30px;

span {
width: auto;
}
}

.actions-list {
list-style: none;
position: absolute;
right: 106px; // when re-enabling 'Generate new secret' link, original value: 0;
bottom: 3px;
bottom: 12.5px;
padding: 0;
margin: 0;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// This is a generated file. Changes are likely to result in being overwritten
export const main: string;
export const multiInputRow: string;
export const smallInput: string;
export const inputContainer: string;
export const botCreateForm: string;
export const checkboxAnchorContainer: string;
export const link: string;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,14 +120,14 @@ export class BotCreationDialog extends React.Component<{}, BotCreationDialogStat
{ endpointWarning && <span className={ styles.endpointWarning }>{ endpointWarning }</span> }
<Row className={ styles.multiInputRow }>
<TextField
className={ styles.smallInput }
inputContainerClassName={ styles.inputContainer }
data-prop="appId"
label="Microsoft App ID"
onChange={ this.onInputChange }
placeholder="Optional"
value={ endpoint.appId }/>
<TextField
className={ styles.smallInput }
inputContainerClassName={ styles.inputContainer }
label="Microsoft App password"
data-prop="appPassword"
onChange={ this.onInputChange }
Expand All @@ -150,7 +150,7 @@ export class BotCreationDialog extends React.Component<{}, BotCreationDialogStat
</Row>

<TextField
className={ styles.key }
inputContainerClassName={ styles.key }
label="Secret "
value={ secret }
placeholder="Your keys are not encrypted"
Expand Down
2 changes: 2 additions & 0 deletions packages/sdk/ui-react/src/widget/checkbox/checkbox.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@

.label {
position: relative;
display: flex;
flex-flow: row nowrap;
color: var(--input-label-color);

&[disabled], &[aria-disabled] {
Expand Down

0 comments on commit d5bc936

Please sign in to comment.