Skip to content

Commit

Permalink
Merge pull request #1104 from Microsoft/jwilaby/fix-new-bot-dialog-st…
Browse files Browse the repository at this point in the history
…yles

fixed various css issues
  • Loading branch information
Justin Wilaby committed Nov 19, 2018
2 parents 9ba8f7d + 9a0e7f0 commit 7c868b1
Show file tree
Hide file tree
Showing 3 changed files with 13 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

0 comments on commit 7c868b1

Please sign in to comment.