Skip to content

Commit

Permalink
Merge 4d46152 into 9b1c236
Browse files Browse the repository at this point in the history
  • Loading branch information
Corina committed Nov 5, 2018
2 parents 9b1c236 + 4d46152 commit e75df60
Show file tree
Hide file tree
Showing 9 changed files with 246 additions and 230 deletions.
420 changes: 212 additions & 208 deletions package-lock.json

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions packages/app/client/src/ui/editor/emulator/parts/chat/chat.scss
Expand Up @@ -6,11 +6,7 @@
.wc-chatview-panel {
flex: 1;
position: relative;
&::-webkit-scrollbar-thumb {
background-color: blue;
color: red;
}


p {
margin-bottom: 0;
margin-top: 0;
Expand Down Expand Up @@ -66,6 +62,10 @@
padding: 0 16px;
}

.wc-message-wrapper.clickable {
margin-top: 2px;
}

.wc-list ul {
padding: 0;
}
Expand Down
Expand Up @@ -32,7 +32,7 @@
.inspector-container {
box-sizing: border-box;
font-family: var(--monospace-font-family);
height: 100%;
height: calc(100% - 4px);
margin: 2px;
padding: 0 0 18px 0;
overflow-y: auto;
Expand Down
Expand Up @@ -42,7 +42,7 @@
border: var(--my-bots-well-border);

&::-webkit-scrollbar-thumb {
background-color: transparent
background-color: transparent;
}

&:hover {
Expand Down
Expand Up @@ -59,11 +59,14 @@ export class EndpointExplorer extends ServicePane<EndpointProps> {
return (
<li
className={ styles.message }
data-index={ index }
key={ index }
onClick={ this.onLinkClick }
onKeyPress={ this.onHandleKeyPress }
data-index={ index }
tabIndex={ 0 }>{ model.name }
tabIndex={ 0 }
title={ model.endpoint }
>
{ model.name }
</li>);
});
}
Expand Down
Expand Up @@ -44,25 +44,29 @@ export class ResourceExplorer extends ServicePane<ResourceExplorerProps, Resourc
const mutable = fileToRename.id === file.id;
if (!mutable) {
return (
<li key={ `file_${ index }` }
data-index={ index }
onClick={ this.onLinkClick }
onKeyPress={ this.onLinkKeyPress }
className={ styles.link }
tabIndex={ 0 }>
<li
className={ styles.link }
data-index={ index }
key={ `file_${ index }` }
onClick={ this.onLinkClick }
onKeyPress={ this.onLinkKeyPress }
tabIndex={ 0 }
title={ file.path }
>
{ file.name }
</li>);
}

return (
<li key={ `file_${ index }` } className={ styles.link }>
<input
type="text"
ref={ this.editableInputRef }
defaultValue={ fileToRename.name }
onChange={ this.onInputChange }
onBlur={ this.onInputBlur }
onKeyUp={ this.onInputKeyUp }
defaultValue={ fileToRename.name }/>
type="text"
ref={ this.editableInputRef }
/>
</li>);
});
}
Expand Down
Expand Up @@ -52,9 +52,9 @@

.service-pane-list {
margin: 0;
overflow: auto;
max-height: 400px;
padding: 2px 0 2px 0;

& > li {
border: 1px solid transparent;
color: var(--list-item-color);
Expand All @@ -63,6 +63,8 @@
font-size: 13px;
line-height: 22px;
min-height: 22px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;

&:hover {
Expand All @@ -72,6 +74,7 @@
&:focus {
background-color: var(--focused-list-item);
}

&[data-selected], &:active {
background-color: var(--focused-selected-list-item-bg);
border: var(--list-item-hover-border);
Expand Down
Expand Up @@ -141,7 +141,9 @@ export class ServicesExplorer extends ServicePane<ServicesExplorerProps> {
onDoubleClick={ this.onLinkClick }
onKeyPress={ this.onHandleKeyPress }
data-index={ index }
tabIndex={ 0 }>
tabIndex={ 0 }
title={ service.name }
>
{ label } <span>- { serviceTypeLabels[service.type] }</span>
</li>
);
Expand Down
4 changes: 2 additions & 2 deletions packages/app/client/src/ui/styles/globals.scss
Expand Up @@ -74,8 +74,8 @@
}

::-webkit-scrollbar {
width: 10px;
height: 10px;
width: 8px;
height: 8px;
}

::-webkit-scrollbar-track {
Expand Down

0 comments on commit e75df60

Please sign in to comment.